Exemplo n.º 1
0
 public async Task<IActionResult> CreateSystemUser(SystemUsersViewModel model)
 {
     var result = await _systemAdminRepository.CreateSystemUserAsync(model);
     if (result == "Successful")
     {
         return Ok();
     }
     return BadRequest();
 }