Exemple #1
0
 public JObject GetStudioDetails(String connection, int accountId, int studioId)
 {
     try
     {
         Press3.DataAccessLayer.Studio studioObj = new Press3.DataAccessLayer.Studio(connection);
         DataSet ds = studioObj.GetStudioDetails(accountId, studioId);
         if (ds == null)
         {
             helper.CreateProperty(UDC.Label.MESSAGE, "No data returned from database");
             helper.CreateProperty(UDC.Label.SUCCESS, false);
         }
         else
         {
             helper.ParseDataSet(ds);
         }
     }
     catch (Exception ex)
     {
         Logger.Error("Exception In BAL.GetStudioDetails " + ex.ToString());
     }
     return(helper.GetResponse());
 }