Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public IActionResult Post([FromBody] LoginDto login) { CheckLoginDto rst = _account.CheckLogin(login); if (string.IsNullOrEmpty(rst.Message)) { _token.TokenGenerate(rst); return(Ok(rst)); } return(BadRequest(rst.Message)); }