title: There is no argument given that corresponds to the required formal parameter 'photo' of 'Interface.Create(Trademark, IFormFile)'?
body: <p>I am using .Net Core 5 and uploading images for my Trademark. I use Repository for my work and got error CS706: There is no argument given that corresponds to the required formal parameter 'photo' of 'Interface.Create(Trademark, IFormFile)' in Controller</p>
  <pre><code>_trademarkRepo.CreateNewTrademark(trademark);
  </code></pre>
  <p><strong>Controller</strong></p>
  <pre><code>public IActionResult CreateTrademark(Trademark trademark)
      {
          if(ModelState.IsValid)
          {
              _trademarkRepo.CreateNewTrademark(trademark);
          }
          _logger.LogInformation(&quot;...&quot;);
          return RedirectToAction(&quot;Index&quot;);
      }
  </code></pre>
  <p><strong>Repo</strong></p>
  <pre><code>public bool CreateNewTrademark(Trademark trademark, IFormFile photo)
      {
          var path = Path.Combine(this._webHostEnvironment.WebRootPath, &quot;trademarks&quot;, photo.FileName);
          var stream = new FileStream(path, FileMode.Create);
          photo.CopyToAsync(stream);
          if(CheckExist(trademark.TrademarkName))
          {
              return false;
          }
          var newTrademark = new Trademark
          {
              TrademarkName = trademark.TrademarkName,
              Description = trademark.Description,
              Image = photo.FileName
          };
          _dbContext.Trademarks.Add(newTrademark);
          _dbContext.SaveChanges();
          return true;
      }
  </code></pre>