Пример #1
0
        public IActionResult Post([FromBody] CreateContactListModel model)
        {
            var dto = _mapper.Map <CreateContactListDto>(model);

            dto.OwnerUserName = GetCurrentUserName();

            var result = _contactListService.CreateContactList(dto);

            return(Ok());
        }