private static IEventService InitializeTarget(IOnTaskDbContext context, IMapperService mapper) { IEventService target = new EventService(context, mapper); target.AddApplicationUser(User); return(target); }