public bool Update(string Id, CdCementFluidScheduleT data)
        {
            var model = dbContext.CdCementFluidScheduleT.SingleOrDefault(x => x.FluidScheduleId == Id);

            if (model == null)
            {
                return(false);
            }
            model = data;
            dbContext.CdCementFluidScheduleT.Update(model);
            return(dbContext.SaveChanges() > 0);
        }
 public bool Create(CdCementFluidScheduleT data)
 {
     data.FluidScheduleId = NormalHelper.GenerateNormalKey();
     dbContext.CdCementFluidScheduleT.Add(data);
     return(dbContext.SaveChanges() > 0);
 }