public void Update(Int32 Id, DateTime OpenUntil) { BillingPeriod item = new BillingPeriod(Id); item.Openuntil = OpenUntil; item.MarkOld(); item.Save(UserName); }
public void Insert(int Month, int Year, DateTime Openuntil, bool IsDeleted, DateTime?CreatedOn, string CreatedBy, DateTime?ModifiedOn, string ModifiedBy) { BillingPeriod item = new BillingPeriod(); item.Month = Month; item.Year = Year; item.Openuntil = Openuntil; item.IsDeleted = IsDeleted; item.CreatedOn = CreatedOn; item.CreatedBy = CreatedBy; item.ModifiedOn = ModifiedOn; item.ModifiedBy = ModifiedBy; item.Save(UserName); }
public bool Destroy(object Id) { return(BillingPeriod.Destroy(Id) == 1); }
public bool Delete(object Id) { return(BillingPeriod.Delete(Id) == 1); }