Beispiel #1
0
 public void addClientServicePrice(int ClientId, int ServiceId, double Price)
 {
     DLAddClient dlAddSer = new DLAddClient();
       try
       {
           dlAddSer.addClientServicePrice(ClientId, ServiceId, Price);
       }
       catch
       {
           throw;
       }
       finally
       {
           //dlAddCl = null;
       }
 }
Beispiel #2
0
 public void delTempService(int loginid)
 {
     DLAddClient dlaCl = new DLAddClient();
        try
        {
        dlaCl.delTempService(loginid);
        }
        catch
        {
        throw;
        }
        finally
        {
        dlaCl = null;
        }
 }
Beispiel #3
0
 public string addClient(string strClientNm, string strAdd1, string strAdd2, string strAdd3, string strAdd4, string strTel, string strMob, string strPan, string strBranch, string strCity, string strConPer1, string strConPer2, string strConPer3, string strCntct1, string strCntct2, string strCntct3, string strEmail1, string strEmail2, string strEmail3, int intIsDel, string strPrefix, int intApprve, int intserviceTax, string emailinv, string multiemail)
 {
     DLAddClient dlaCl = new DLAddClient();
       try
       {
      msg= dlaCl.addClient(strClientNm, strAdd1, strAdd2, strAdd3, strAdd4, strTel, strMob, strPan, strBranch, strCity, strConPer1, strConPer2, strConPer3, strCntct1, strCntct2, strCntct3, strEmail1, strEmail2, strEmail3, intIsDel, strPrefix, intApprve, intserviceTax, emailinv, multiemail);
       }
       catch
       {
       throw;
       }
       finally
       {
       dlaCl = null;
       }
       return msg;
 }
Beispiel #4
0
        public SqlDataReader GetClientDetails(int ClientId)
        {
            DLAddClient dlAddCl = new DLAddClient();
              try
              {
              SqlDataReader dr = dlAddCl.GetClientDetails(ClientId);

              return dr;
              }
              catch
              {
              throw;
              }
              finally
              {
              dlAddCl = null;
              }
        }
Beispiel #5
0
 public SqlDataReader getClientId()
 {
     DLAddClient dlAddCl = new DLAddClient();
     try
     {
         SqlDataReader dr = dlAddCl.getClientId();
         return dr;
     }
     catch
     {
         throw;
     }
     finally
     {
         dlAddCl = null;
     }
 }
Beispiel #6
0
 public void UpdateServiceForClient(int clientid, int serviceid, decimal price)
 {
     DLAddClient dlAddSer = new DLAddClient();
       try
       {
           dlAddSer.UpdateServiceForClient(clientid, serviceid, price);
       }
       catch
       {
           throw;
       }
       finally
       {
           //dlAddCl = null;
       }
 }
Beispiel #7
0
 public string saveTempService(int loginid,int serviceid,string price,int clientid)
 {
     DLAddClient dlaCl = new DLAddClient();
        try
        {
        msg = dlaCl.saveTempService(loginid, serviceid,price,clientid  );
        }
        catch
        {
        throw;
        }
        finally
        {
        dlaCl = null;
        }
        return msg;
 }
Beispiel #8
0
 public DataSet getTempService(int loginid,int clientid)
 {
     DLAddClient dlgetSer = new DLAddClient();
        DataSet ds=dlgetSer.getTempService(loginid,clientid );
        return ds;
 }
Beispiel #9
0
 public SqlDataReader GetServiceNmId1()
 {
     DLAddClient dlAddSer = new DLAddClient();
     try
     {
         SqlDataReader dr = dlAddSer.GetServiceNmId1();
         return dr;
     }
     catch
     {
         throw;
     }
     finally
     {
         //dlAddCl = null;
     }
 }
Beispiel #10
0
 public SqlDataReader GetServiceIdByNm1(string SerNm)
 {
     DLAddClient dlAddSer = new DLAddClient();
       try
       {
           SqlDataReader dr = dlAddSer.GetServiceIdByNm1(SerNm );
           return dr;
       }
       catch
       {
           throw;
       }
       finally
       {
           //dlAddCl = null;
       }
 }
Beispiel #11
0
        public SqlDataReader GetServForUpdateClientServices(int ClientId)
        {
            DLAddClient dlAddCl = new DLAddClient();
              try
              {
              SqlDataReader dr = dlAddCl.GetServForUpdateClientServices(ClientId);

              return dr;
              }
              catch
              {
              throw;
              }
              finally
              {
              //dlAddCl = null;
              }
        }