Beispiel #1
0
        public List <HeckTextRecord> GetHecksReceived(int UserID)
        {
            HeckProcedureModel         model = new HeckProcedureModel(null);
            DataResponseTextRecordList resp  = model.GetReceivedHecks(UserID);

            model.Dispose();
            return(resp.List ?? new List <HeckTextRecord>());
        }
Beispiel #2
0
        public bool ResetAvailableHecks()
        {
            HeckProcedureModel model = new HeckProcedureModel(null);

            model.ResetAvailableHecks();
            model.Dispose();
            return(true);
        }
Beispiel #3
0
        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);
        }