Exemplo n.º 1
0
 public async Task <int> AddLevel1(Level1VM modelVM)
 {
     try
     {
         return(await StdRepo.ExcuteStoredProcedureToSave <Level1VM>(GlobalSPNames.AddLevel1SPName, modelVM));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 2
0
 public async Task <int> SaveQuotation(QutationVM obj)
 {
     try
     {
         return(await StdRepo.ExcuteStoredProcedureToSave <QutationVM>(GlobalSPNames.SaveQuotationSPName, obj));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 3
0
 public async Task <int> SaveSpecMaster(SpecMaster modelVM)
 {
     try
     {
         return(await StdRepo.ExcuteStoredProcedureToSave <SpecMaster>(GlobalSPNames.SaveSpecMasterSPName, modelVM));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 4
0
 public async Task<int> SaveCatelog(CateglogProducts modelVM)
 {
     try
     {
         return await StdRepo.ExcuteStoredProcedureToSave<CateglogProducts>(GlobalSPNames.AddCatelogProductSPName, modelVM);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 5
0
 public async Task <int> SaveBrand(Brand modelVM, int action)
 {
     try
     {
         return(await StdRepo.ExcuteStoredProcedureToSave <Brand>(GlobalSPNames.SaveBrand, modelVM, action));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 6
0
 public async Task <int> EditUserDetails(User obj)
 {
     try
     {
         return(await StdRepo.ExcuteStoredProcedureToSave <User>(GlobalSPNames.EditUserDetailsSPName, obj));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 7
0
 public async Task <int> AddOrganization(UserOrganisazionVM modelVM)
 {
     try
     {
         return(await StdRepo.ExcuteStoredProcedureToSave <UserOrganisazionVM>(GlobalSPNames.AddOrganizationSPName, modelVM));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }