Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public async Task <ActionResult <VolunteerDTO> > CreateAsync([FromBody] VolunteerCreateDTO model) { try { return(Ok(await volunteerService.CreateAsync(model))); } catch (ValidationException e) { return(BadRequest(e.ValidationErrors)); } }