public List<Credit> CheckAccount([FromBody]User user) { MysqlHelper mysqlhelper = new MysqlHelper(); var user_id = mysqlhelper.SearchID(user.Name, user.Session); return mysqlhelper.GetAllCreditAccount(user_id); }