public bool DeleteUOMMastersDetails(long[] Id)
 {
     try
     {
         IList <UOMMaster> UOMMasterDetails = PSF.GetListByIds <UOMMaster>(Id);
         PSF.DeleteAll <UOMMaster>(UOMMasterDetails);
         return(true);
     }
     catch (Exception)
     {
         throw;
     }
 }
Ejemplo n.º 2
0
 public bool DeleteUserAppRole(long[] id)
 {
     try
     {
         IList <UserAppRole> UserAppRole = PSF.GetListByIds <UserAppRole>(id);
         PSF.DeleteAll <UserAppRole>(UserAppRole);
         return(true);
     }
     catch (Exception)
     {
         throw;
     }
 }
Ejemplo n.º 3
0
        public bool DeleteTicketComments(long[] Ids)
        {
            try
            {
                if (Ids != null && Ids.Length > 0)
                {
                    IList <TicketComments> list = PSF.GetListByIds <TicketComments>(Ids);
                    PSF.DeleteAll <TicketComments>(list);
                    return(true);
                }

                else
                {
                    return(false);
                }
            }
            catch (Exception)
            {
                throw;
            }
        }