public List <HeckTextRecord> GetHecksReceived(int UserID) { HeckProcedureModel model = new HeckProcedureModel(null); DataResponseTextRecordList resp = model.GetReceivedHecks(UserID); model.Dispose(); return(resp.List ?? new List <HeckTextRecord>()); }
public bool ResetAvailableHecks() { HeckProcedureModel model = new HeckProcedureModel(null); model.ResetAvailableHecks(); model.Dispose(); return(true); }
public UserHeckTotal GetUserHeckTotal(int UserID) { UserHeckTotal item = null; HeckProcedureModel model = new HeckProcedureModel(null); DataResponse resp = model.GetUserHeckTotal(UserID); if (resp != null) { item = resp.Item as UserHeckTotal; } model.Dispose(); return(item); }