Lots of refactoring #865

Starting to refactor the Angular Modules now
This commit is contained in:
Jamie.Rees 2017-07-07 13:25:41 +01:00
parent bad109c862
commit ffab4b7981
26 changed files with 602 additions and 267 deletions

View file

@ -182,7 +182,8 @@ namespace Ombi.Core.Engine
{
await MovieRepository.Add(model);
if (ShouldSendNotification(model))
var result = await RunSpecificRule(model, SpecificRules.CanSendNotification);
if (result.Success)
{
NotificationHelper.NewRequest(model);
}