public object Login([FromBody] UserInfoModel userInfoModel) { return(_accountBus.Login(userInfoModel.email, userInfoModel.password)); }
public object Login([FromBody] AccountModel accountModel) { return(_accountBus.Login(accountModel.email, accountModel.password)); }