示例#1
0
 /// <summary>
 /// This Function is used to get list of all the ComplaintType of department from Database.
 /// </summary>
 public static List <ComplaintType> GetAllForDepartment(int departmentId)
 {
     return(ComplaintTypeDA.GetAllForDepartment(departmentId));
 }
示例#2
0
 /// <summary>
 /// This Function is used to get list of all the ComplaintType from Database.
 /// </summary>
 public static List <ComplaintType> GetAll()
 {
     return(ComplaintTypeDA.GetAll());
 }
示例#3
0
 /// <summary>
 /// This Function is used to get Details of the ComplaintType from Database.
 /// </summary>
 public static ComplaintType GetDetails(int id)
 {
     return(ComplaintTypeDA.GetDetails(id));
 }
示例#4
0
 /// <summary>
 /// This Function is used to Delete previously added ComplaintType from database and is performed by SuperAdmin Only.
 /// </summary>
 public static bool Delete(ComplaintType info)
 {
     return(ComplaintTypeDA.Delete(info));
 }
示例#5
0
 /// <summary>
 /// This Function is used to Update previously added ComplaintType in database and is performed by SuperAdmin Only.
 /// </summary>
 public static bool Update(ComplaintType info)
 {
     return(ComplaintTypeDA.Update(info));
 }
示例#6
0
 /// <summary>
 /// This Function is used to add new ComplaintType to database and is performed by SuperAdmin Only.
 /// </summary>
 public static bool Add(ComplaintType info)
 {
     return(ComplaintTypeDA.Add(info));
 }