よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public IHttpActionResult AddIssueInventoryRecordDetails(IssueInventoryAc issueInventoryDetails) { try { if (HttpContext.Current.User.Identity.IsAuthenticated) { var inventoryRecordDetails = _inventoryRepository.AddIssueInventoryRecordDetails(issueInventoryDetails, MerchantContext.UserDetails.Id, MerchantContext.CompanyDetails); return(Ok(inventoryRecordDetails)); } else { return(BadRequest()); } } catch (Exception ex) { _errorLog.LogException(ex); throw; } }