Exemple #1
0
        public List <JobExpenseDAO> GetJobExpenses()
        {
            var s = new List <JobExpenseDAO>();

            foreach (var ex in ef.GetJobExpenses())
            {
                s.Add(JobExpenseMapper.MapToJobExpenseDAO(ex));
            }
            return(s);
        }
Exemple #2
0
 public bool DeleteJobExpense(JobExpenseDAO ex)
 {
     return(ef.DeleteJobExpense(JobExpenseMapper.MapToJobExpense(ex)));
 }
Exemple #3
0
 public bool UpdateJobExpense(JobExpenseDAO ex)
 {
     return(ef.UpdateJobExpense(JobExpenseMapper.MapToJobExpense(ex)));
 }