Esempio n. 1
0
        public async Task <IActionResult> AddDetaisAsync([FromBody] OfferDetail item)
        {
            var user = await _userManager.GetUserAsync(User);

            item.CreatedBy  = user.Id;
            item.ModifiedBy = user.Id;
            return(CreatedAtAction(nameof(AddDetaisAsync), await _offerService.AddDetailsAsync(item)));
        }