public async Task <ActionResult <NotificationDto> > Create([FromBody] CreateANotificationDto dto) =>
 await Create <CreateANotificationDto, CreateANotificationCommand>(dto, _mediator, _mapper);
Esempio n. 2
0
 public async Task <NotificationDto> Create(CreateANotificationDto dto) =>
 await _httpService.PostAsync <NotificationDto>(BaseUrl, dto);