public bool Update(BILL_EFFECTSVM entity)
        {
            BILL_EFFECTS be = new BILL_EFFECTS
            {
                AddedBy          = entity.AddedBy,
                AddedOn          = entity.AddedOn,
                BILL_EFF_AR_NAME = entity.BILL_EFF_AR_NAME,
                BILL_EFF_EN_NAME = entity.BILL_EFF_EN_NAME,
                BILL_EFF_ID      = entity.BILL_EFF_ID,
                Disable          = entity.Disable,
                UpdatedBy        = entity.UpdatedBy,
                updatedOn        = entity.updatedOn
            };

            billEffectsRepo.Update(be, be.BILL_EFF_ID);
            return(true);
        }
 public Task <bool> DeleteAsync(BILL_EFFECTSVM entity)
 {
     return(Task.Run <bool>(() =>
     {
         BILL_EFFECTS be = new BILL_EFFECTS
         {
             AddedBy = entity.AddedBy,
             AddedOn = entity.AddedOn,
             BILL_EFF_AR_NAME = entity.BILL_EFF_AR_NAME,
             BILL_EFF_EN_NAME = entity.BILL_EFF_EN_NAME,
             BILL_EFF_ID = entity.BILL_EFF_ID,
             Disable = entity.Disable,
             UpdatedBy = entity.UpdatedBy,
             updatedOn = entity.updatedOn
         };
         billEffectsRepo.Delete(be, entity.BILL_EFF_ID);
         return true;
     }));
 }