public void Insert(int timesheetId, int billingCityRateId, int perDiemCount)
        {
            TimesheetBillingCityRate item = new TimesheetBillingCityRate();

            item.TimesheetId = timesheetId;

            item.BillingCityRateId = billingCityRateId;

            item.PerdiemCount = perDiemCount;

            item.Save(UserName);
        }
        public void Update(int id, int billingCityRateId, int perDiemCount)
        {
            TimesheetBillingCityRate item = new TimesheetBillingCityRate();

            item.MarkOld();

            item.Id = id;

            item.BillingCityRateId = billingCityRateId;

            item.PerdiemCount = perDiemCount;

            item.Save(UserName);
        }
 public TimesheetBillingCityRate FetchByID(int Id)
 {
     return(TimesheetBillingCityRate.FetchByID(Id));
 }
 public bool Destroy(object Id)
 {
     return(TimesheetBillingCityRate.Destroy(Id) == 1);
 }