Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public async Task <IActionResult> Create([FromBody] MeetupCreateModel model) { var meetup = _mapperService.Map <MeetupCreateModel, MeetupDtoModel>(model); var user = await _userService.GetUser(User.Identity.Name); meetup.Owner = user; meetup.OwnerId = user.Id; await _meetupService.CreateAsync(meetup); return(Ok()); }