Added basic parsing and unit tests. Setting up an intermediate object to hold information from parser. Removed hangfire db from git.

This commit is contained in:
Joseph Milazzo 2020-12-27 11:14:45 -06:00
parent 4fd9943b91
commit 8c80ed090d
13 changed files with 347 additions and 8 deletions

View file

@ -8,12 +8,10 @@ namespace API.Controllers
{
public class AdminController : BaseApiController
{
private readonly IUserRepository _userRepository;
private readonly UserManager<AppUser> _userManager;
public AdminController(IUserRepository userRepository, UserManager<AppUser> userManager)
public AdminController(UserManager<AppUser> userManager)
{
_userRepository = userRepository;
_userManager = userManager;
}

View file

@ -38,7 +38,7 @@ namespace API.Controllers
return BadRequest("Library name already exists. Please choose a unique name to the server.");
}
// TODO: We probably need to clean the folders before we insert
// TODO: We probably need to normalize the folders before we insert
var library = new Library
{
Name = createLibraryDto.Name.ToLower(),