public async Task <JsonResult> Register([FromBody] RegisterMemberAndLogInCommand command) { return(await _apiResponseHelper.RunCommandAsync(command)); }
public Task <IActionResult> Register([FromBody] RegisterMemberAndLogInCommand command) { return(_apiResponseHelper.RunCommandAsync(this, command)); }