public async Task <object> Login([FromBody] User user) { if (user == null) { return(BadRequest()); } return(await _loginBusiness.Login(user)); }
public async Task <object> Login([FromBody] User user) { if (user == null) { return(BadRequest()); } return(await _loginBusiness.Login(user)); }