Example #1
0
 public bool SaveLike(likeItem like)
 {
     cc = new ComplaintController();
     bool result = cc.SaveLike(like);
     return result;
 }
Example #2
0
 public bool SaveSpam(spamItem spam)
 {
     cc = new ComplaintController();
     bool result = cc.SaveSpam(spam);
     return result;
 }
Example #3
0
 public bool SaveComment(commentItem comment)
 {
     cc = new ComplaintController();
     bool result = cc.SaveComment(comment);
     return result;
 }
Example #4
0
 public int SaveComplaint(complaintItem complaint)
 {
     cc = new ComplaintController();
     int result = cc.SaveComplaint(complaint);
     return result;
 }
Example #5
0
 public likeItem[] GetLikes(string complaintId)
 {
     cc = new ComplaintController();
     likeItem[] result = cc.GetLikes(complaintId);
     return result;
 }
Example #6
0
 public spamItem[] GetSpam(string complaintId)
 {
     cc = new ComplaintController();
     spamItem[] result = cc.GetSpam(complaintId);
     return result;
 }
Example #7
0
 public complaintItem[] GetComplaintsByState(string state)
 {
     cc = new ComplaintController();
     complaintItem[] result = cc.GetComplaintsByState(state);
     return result;
 }
Example #8
0
 public complaintItem[] GetComplaintsByStatus(string complaintStatus)
 {
     cc = new ComplaintController();
     complaintItem[] result = cc.GetComplaintsByStatus(complaintStatus);
     return result;
 }
Example #9
0
 public complaintItem[] GetComplaintsByPin(string pin)
 {
     cc = new ComplaintController();
     complaintItem[] result = cc.GetComplaintsByPin(pin);
     return result;
 }
Example #10
0
 public complaintItem GetComplaintsById(string id)
 {
     cc = new ComplaintController();
     complaintItem result = cc.GetComplaintsById(id);
     return result;
 }
Example #11
0
 public complaintItem[] GetComplaintsByCountry(string country)
 {
     cc = new ComplaintController();
     complaintItem[] result = cc.GetComplaintsByCountry(country);
     return result;
 }
Example #12
0
 public complaintItem[] GetComplaints()
 {
     cc = new ComplaintController();
     complaintItem[] result = cc.GetComplaints();
     return result;
 }
Example #13
0
 public commentItem[] GetComments(string complaintId)
 {
     cc = new ComplaintController();
     commentItem[] result = cc.GetComments(complaintId);
     return result;
 }