mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Added some tests and fixed the issue where the DB would get created in the wrong place depending on how you launched the application
This commit is contained in:
parent
1f9ed51320
commit
e2aa4016a8
8 changed files with 221 additions and 35 deletions
|
@ -12,12 +12,12 @@ namespace PlexRequests.UI.Jobs
|
|||
//typeof(AvailabilityUpdateService);
|
||||
var container = TinyIoCContainer.Current;
|
||||
|
||||
var a= container.ResolveAll(typeof(T));
|
||||
var a= container.Resolve(typeof(T));
|
||||
|
||||
object outT;
|
||||
container.TryResolve(typeof(T), out outT);
|
||||
|
||||
return (T)outT;
|
||||
return (T)a;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue