예제 #1
0
 public static List <Complaint> GetAllOpenComplaints(int departmentId)
 {
     return(ComplaintDA.GetAllOpenComplaints(departmentId));
 }
예제 #2
0
 public static List <Complaint> GetAllByAdhar(string Adhar)
 {
     return(ComplaintDA.GetAllByAdhar(Adhar));
 }
예제 #3
0
 /// <summary>
 /// This Function is used to get list of all the Complaint from Database.
 /// </summary>
 public static List <Complaint> GetAll()
 {
     return(ComplaintDA.GetAll());
 }
예제 #4
0
 public static List <Complaint> GetAllByDateRange(int departmentId)
 {
     return(ComplaintDA.GetAllByDateRange(departmentId));
 }
예제 #5
0
 /// <summary>
 /// This Function is used to get Details of the Complaint from Database.
 /// </summary>
 public static Complaint GetDetails(int id)
 {
     return(ComplaintDA.GetDetails(id));
 }
예제 #6
0
 /// <summary>
 /// This Function is used to Delete previously added Complaint from database and is performed by SuperAdmin Only.
 /// </summary>
 public static bool Delete(Complaint info)
 {
     return(ComplaintDA.Delete(info));
 }
예제 #7
0
 public static bool UpdateClosing(Complaint info)
 {
     return(ComplaintDA.UpdateClosing(info));
 }
예제 #8
0
 /// <summary>
 /// This Function is used to Update previously added Complaint in database and is performed by SuperAdmin Only.
 /// </summary>
 public static bool Update(Complaint info)
 {
     return(ComplaintDA.Update(info));
 }
예제 #9
0
 /// <summary>
 /// This Function is used to add new Complaint to database and is performed by SuperAdmin Only.
 /// </summary>
 public static int Add(Complaint info)
 {
     return(ComplaintDA.Add(info));
 }