public IActionResult Post([FromBody] CreateContactListModel model) { var dto = _mapper.Map <CreateContactListDto>(model); dto.OwnerUserName = GetCurrentUserName(); var result = _contactListService.CreateContactList(dto); return(Ok()); }
public IActionResult Post([FromBody] CreateContactListModel model) { var dto = _mapper.Map <CreateContactListDto>(model); dto.OwnerUserName = GetCurrentUserName(); var result = _contactListService.CreateContactList(dto); return(Ok()); }