public static List <Complaint> GetAllOpenComplaints(int departmentId) { return(ComplaintDA.GetAllOpenComplaints(departmentId)); }
public static List <Complaint> GetAllByAdhar(string Adhar) { return(ComplaintDA.GetAllByAdhar(Adhar)); }
/// <summary> /// This Function is used to get list of all the Complaint from Database. /// </summary> public static List <Complaint> GetAll() { return(ComplaintDA.GetAll()); }
public static List <Complaint> GetAllByDateRange(int departmentId) { return(ComplaintDA.GetAllByDateRange(departmentId)); }
/// <summary> /// This Function is used to get Details of the Complaint from Database. /// </summary> public static Complaint GetDetails(int id) { return(ComplaintDA.GetDetails(id)); }
/// <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)); }
public static bool UpdateClosing(Complaint info) { return(ComplaintDA.UpdateClosing(info)); }
/// <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)); }
/// <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)); }