public bool DeleteUOMMasterDetails(long[] Id)
 {
     try
     {
         mbc.DeleteUOMMastersDetails(Id);
         return(true);
     }
     catch (Exception ex)
     {
         if (ex.ToString().Contains("Cannot insert duplicate key row in object 'dbo.QUEUE' with"))
         {
             throw new FaultException("Cannot insert duplicate key in Queue Name.");
         }
         throw;
     }
     finally { }
 }