public void Update(int Id, int Periodaccountid, int Groupid, double Rate, bool IsDeleted, DateTime?CreatedOn, string CreatedBy, DateTime?ModifiedOn, string ModifiedBy) { BillingRate item = new BillingRate(); item.Id = Id; item.Periodaccountid = Periodaccountid; item.Groupid = Groupid; item.Rate = Rate; item.IsDeleted = IsDeleted; item.CreatedOn = CreatedOn; item.CreatedBy = CreatedBy; item.ModifiedOn = ModifiedOn; item.ModifiedBy = ModifiedBy; item.MarkOld(); item.Save(UserName); }
public void Update(Int32 id, Double rate) { BillingRate item = FetchByID(id)[0]; item.Rate = rate; item.MarkOld(); item.Save(UserName); }
public bool Destroy(object Id) { return(BillingRate.Destroy(Id) == 1); }
public bool Delete(object Id) { return(BillingRate.Delete(Id) == 1); }