public Task <bool> DeleteAsync(CompanyStoresVM entity)
 {
     return(Task.Run <bool>(() =>
     {
         COMPANY_STORES Ct = new COMPANY_STORES
         {
             AddedBy = entity.AddedBy,
             AddedOn = entity.AddedOn,
             COM_BRN_ID = entity.COM_BRN_ID,
             COM_MASTER_STORE_ID = entity.COM_MASTER_STORE_ID,
             COM_PRINTER_NAME = entity.COM_PRINTER_NAME,
             COM_STORE_ADDR_REMARKS = entity.COM_STORE_ADDR_REMARKS,
             COM_STORE_AR_ABRV = entity.COM_STORE_AR_ABRV,
             COM_STORE_AR_NAME = entity.COM_STORE_AR_NAME,
             COM_STORE_CODE = entity.COM_STORE_CODE,
             COM_STORE_EN_ABRV = entity.COM_STORE_EN_ABRV,
             COM_STORE_EN_NAME = entity.COM_STORE_EN_NAME,
             COM_STORE_ID = entity.COM_STORE_ID,
             COM_STORE_REMARKS = entity.COM_STORE_REMARKS,
             Disable = entity.Disable,
             EMP_ID = entity.EMP_ID,
             GOV_ID = entity.GOV_ID,
             NATION_ID = entity.NATION_ID,
             TOWN_ID = entity.TOWN_ID,
             UpdatedBy = entity.UpdatedBy,
             updatedOn = entity.updatedOn,
             VILLAGE_ID = entity.VILLAGE_ID
         };
         companyStoreRepo.Delete(Ct, entity.COM_STORE_ID);
         return true;
     }));
 }
        public bool Update(CompanyStoresVM entity)
        {
            COMPANY_STORES Ct = new COMPANY_STORES
            {
                AddedBy                = entity.AddedBy,
                AddedOn                = entity.AddedOn,
                COM_BRN_ID             = entity.COM_BRN_ID,
                COM_MASTER_STORE_ID    = entity.COM_MASTER_STORE_ID,
                COM_PRINTER_NAME       = entity.COM_PRINTER_NAME,
                COM_STORE_ADDR_REMARKS = entity.COM_STORE_ADDR_REMARKS,
                COM_STORE_AR_ABRV      = entity.COM_STORE_AR_ABRV,
                COM_STORE_AR_NAME      = entity.COM_STORE_AR_NAME,
                COM_STORE_CODE         = entity.COM_STORE_CODE,
                COM_STORE_EN_ABRV      = entity.COM_STORE_EN_ABRV,
                COM_STORE_EN_NAME      = entity.COM_STORE_EN_NAME,
                COM_STORE_ID           = entity.COM_STORE_ID,
                COM_STORE_REMARKS      = entity.COM_STORE_REMARKS,
                Disable                = entity.Disable,
                EMP_ID     = entity.EMP_ID,
                GOV_ID     = entity.GOV_ID,
                NATION_ID  = entity.NATION_ID,
                TOWN_ID    = entity.TOWN_ID,
                UpdatedBy  = entity.UpdatedBy,
                updatedOn  = entity.updatedOn,
                VILLAGE_ID = entity.VILLAGE_ID
            };

            companyStoreRepo.Update(Ct, Ct.COM_STORE_ID);
            return(true);
        }