public IActionResult Create(UserRegister userRegister) { if (userRegister is null || !ModelState.IsValid) { return(BadRequest()); } Guid id = _repo.Insert(userRegister.ToDal()); return(Ok()); }
public IActionResult Create(UserRegister userRegister) { if (userRegister is null || !ModelState.IsValid) { return(BadRequest()); } Guid id = _repo.Insert(userRegister.ToDal()); return(Ok()); }