Documentation & code cleanup
This commit is contained in:
@@ -1,11 +1,5 @@
|
||||
using Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Logic
|
||||
{
|
||||
|
@@ -1,9 +1,4 @@
|
||||
using Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Logic
|
||||
{
|
||||
@@ -14,7 +9,7 @@ namespace Logic
|
||||
{
|
||||
this.commentRepository = commentRepository;
|
||||
}
|
||||
|
||||
|
||||
public Comment GetCommentById(int id)
|
||||
{
|
||||
return commentRepository.GetCommentById(id);
|
||||
|
@@ -1,16 +1,11 @@
|
||||
using Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Logic
|
||||
{
|
||||
public class ComplaintManager
|
||||
{
|
||||
private IComplaintRepository complaintRepository;
|
||||
public ComplaintManager(IComplaintRepository complaintRepository)
|
||||
public ComplaintManager(IComplaintRepository complaintRepository)
|
||||
{
|
||||
this.complaintRepository = complaintRepository;
|
||||
}
|
||||
|
@@ -1,9 +1,4 @@
|
||||
using Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Logic
|
||||
{
|
||||
@@ -14,7 +9,7 @@ namespace Logic
|
||||
{
|
||||
this.eventRepository = eventRepository;
|
||||
}
|
||||
public List<Event> GetAllEvents()
|
||||
public List<Event> GetAllEvents()
|
||||
{
|
||||
return eventRepository.GetAllEvents();
|
||||
}
|
||||
|
@@ -1,9 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Net;
|
||||
|
||||
namespace Logic.Exceptions
|
||||
{
|
||||
|
@@ -1,10 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Logic.Exceptions
|
||||
namespace Logic.Exceptions
|
||||
{
|
||||
public class DatabaseOperationException : ApplicationException
|
||||
{
|
||||
|
@@ -1,10 +1,4 @@
|
||||
using Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Logic
|
||||
{
|
||||
|
@@ -1,5 +1,3 @@
|
||||
using System.ComponentModel.Design;
|
||||
using System.Data.SqlClient;
|
||||
using Models;
|
||||
|
||||
namespace Logic;
|
||||
|
@@ -1,10 +1,4 @@
|
||||
using Logic.Exceptions;
|
||||
using Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Models;
|
||||
|
||||
namespace Logic
|
||||
{
|
||||
|
@@ -1,9 +1,4 @@
|
||||
using Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Logic
|
||||
{
|
||||
@@ -17,4 +12,3 @@ namespace Logic
|
||||
public void DeleteEvent(int id);
|
||||
}
|
||||
}
|
||||
|
@@ -1,9 +1,4 @@
|
||||
using Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Logic
|
||||
{
|
||||
|
@@ -1,14 +1,4 @@
|
||||
using BCrypt.Net;
|
||||
using Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Net.Http;
|
||||
using System.Security.Claims;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Linq;
|
||||
using Models;
|
||||
|
||||
namespace Logic
|
||||
{
|
||||
|
Reference in New Issue
Block a user