Ejemplo n.º 1
0
        public async Task <ResultServiceVM> Post(ClientInsertInVM clientInsertInVM)
        {
            ResultServiceVM resultServiceVM = new ResultServiceVM();

            await _clientService.Register(Mapper.Map <RegisterClientCommand>(clientInsertInVM));

            resultServiceVM.Messages.AddRange(_notifications.GetNotificationsMessages());

            return(resultServiceVM);
        }