public List<BLL.User> GetUsers(BLL.SessionToken token, BLL.PagingData page) { var result = AdminAccessWs.GetUsers( token.ToWebSeriveObject<WS.SessionToken>(), page.ToWebSeriveObject<WS.PagingData>()); return ProxyHelper.ToListOf<WS.User, BLL.User>(result); }
public List<BLL.Performance> GetPerformancePerArtist(BLL.Artist artist) { return ProxyHelper.ToListOf<WS.Performance, BLL.Performance>( _viewAccessWs.GetPerformancesPerArtist(artist.ToWebSeriveObject<WS.Artist>())); }
public static async Task<List<BLL.Performance>> GetPerformancesPerArtistAsync(this IViewAccessBll accessBll, BLL.Artist artist) { return ProxyHelper.ToListOf<WS.Performance, BLL.Performance>( await ViewAccessWs.GetPerformancesPerArtistAsync(artist.ToWebSeriveObject<WS.Artist>())); }
public bool ModifyLocation(BLL.SessionToken token, BLL.Location location) { var locationWs = location.ToWebSeriveObject<WS.Location>(); var tokenWs = token.ToWebSeriveObject<WS.SessionToken>(); return AdminAccessWs.ModifyLocation(tokenWs, locationWs); }
public bool ModifyArtist(BLL.SessionToken token, BLL.Artist artist) { var artistWs = artist.ToWebSeriveObject<WS.Artist>(); var tokenWs = token.ToWebSeriveObject<WS.SessionToken>(); return AdminAccessWs.ModifyArtist(tokenWs, artistWs); }
public bool LoginAdmin(BLL.SessionToken token) { return AdminAccessWs.LoginAdmin(token.ToWebSeriveObject<WS.SessionToken>()); }
public bool DelayPerformance(BLL.SessionToken token, BLL.Performance oldPerformance, BLL.Performance newPerformance) { return AdminAccessWs.DelayPerformance(token.ToWebSeriveObject<WS.SessionToken>(), oldPerformance.ToWebSeriveObject<WS.Performance>(), newPerformance.ToWebSeriveObject<WS.Performance>()); }
public static async Task<bool> SendNotificationAsync(this IAdminAccessBll accessBll, BLL.SessionToken token, BLL.Notification notification) { return await AdminAccessWs.SendNotificationAsync(token.ToWebSeriveObject<WS.SessionToken>(), notification.ToWebSeriveObject<WS.Notification>()); }
public static async Task<bool> DelayPerformanceAsync(this IAdminAccessBll accessBll, BLL.SessionToken token, BLL.Performance oldPerformance, BLL.Performance newPerformance) { return await AdminAccessWs.DelayPerformanceAsync(token.ToWebSeriveObject<WS.SessionToken>(), oldPerformance.ToWebSeriveObject<WS.Performance>(), newPerformance.ToWebSeriveObject<WS.Performance>()); }
public static async Task<bool> RemoveLocationAsync(this IAdminAccessBll accessBll, BLL.SessionToken token, BLL.Location location) { var locationWs = location.ToWebSeriveObject<WS.Location>(); var tokenWs = token.ToWebSeriveObject<WS.SessionToken>(); return await AdminAccessWs.RemoveLocationAsync(tokenWs, locationWs); }
public static async Task<List<string>> GetUserAutoCompletionAsync(this IAdminAccessBll accessBll, BLL.SessionToken token, string keyword) { return (await AdminAccessWs.GetUserAutoCompletionAsync( token.ToWebSeriveObject<WS.SessionToken>(), keyword))?.ToList(); }
public static async Task<bool> ModifyLocationRangeAsync(this IAdminAccessBll accessBll, BLL.SessionToken token, List<BLL.Location> locations) { var locationsWs = ProxyHelper.ToArrayOf<BLL.Location, WS.Location>(locations); var tokenWs = token.ToWebSeriveObject<WS.SessionToken>(); return await AdminAccessWs.ModifyLocationRangeAsync(tokenWs, locationsWs); }
public static async Task<bool> RemovePerformanceAsync(this IAdminAccessBll accessBll, BLL.SessionToken token, BLL.Performance performance) { var performanceWs = performance.ToWebSeriveObject<WS.Performance>(); var tokenWs = token.ToWebSeriveObject<WS.SessionToken>(); return await AdminAccessWs.RemovePerformanceAsync(tokenWs, performanceWs); }
public List<BLL.Performance> GetPerformancePerVenue(BLL.Venue venue) { return ProxyHelper.ToListOf<WS.Performance, BLL.Performance>( _viewAccessWs.GetPerformancesPerVenue(venue.ToWebSeriveObject<WS.Venue>())); }
public List<BLL.User> SearchUsersPerKeyword(BLL.SessionToken token, string keyword) { var result = AdminAccessWs.SearchUsersPerKeyword( token.ToWebSeriveObject<WS.SessionToken>(), keyword); return ProxyHelper.ToListOf<WS.User, BLL.User>(result); }
public bool ModifyLocationRange(BLL.SessionToken token, List<BLL.Location> locations) { var locationsWs = ProxyHelper.ToArrayOf<BLL.Location, WS.Location>(locations); var tokenWs = token.ToWebSeriveObject<WS.SessionToken>(); return AdminAccessWs.ModifyLocationRange(tokenWs, locationsWs); }
public bool SendNotification(BLL.SessionToken token, BLL.Notification notification) { return AdminAccessWs.SendNotification(token.ToWebSeriveObject<WS.SessionToken>(), notification.ToWebSeriveObject<WS.Notification>()); }
public bool ModifyPerformanceRange(BLL.SessionToken token, List<BLL.Performance> performances) { var performancesWs = ProxyHelper.ToArrayOf<BLL.Performance, WS.Performance>(performances); var tokenWs = token.ToWebSeriveObject<WS.SessionToken>(); return AdminAccessWs.ModifyPerformanceRange(tokenWs, performancesWs); }
public List<string> GetUserAutoCompletion(BLL.SessionToken token, string keyword) { return AdminAccessWs.GetUserAutoCompletion( token.ToWebSeriveObject<WS.SessionToken>(), keyword).ToList(); }
public bool ModifyVenueRange(BLL.SessionToken token, List<BLL.Venue> venues) { var venuesWs = ProxyHelper.ToArrayOf<BLL.Venue, WS.Venue>(venues); var tokenWs = token.ToWebSeriveObject<WS.SessionToken>(); return AdminAccessWs.ModifyVenueRange(tokenWs, venuesWs); }
public bool IsUserAuthenticated(BLL.SessionToken token) { return AdminAccessWs.IsUserAuthenticated(token.ToWebSeriveObject<WS.SessionToken>()); }
public bool RemovePerformance(BLL.SessionToken token, BLL.Performance performance) { var performanceWs = performance.ToWebSeriveObject<WS.Performance>(); var tokenWs = token.ToWebSeriveObject<WS.SessionToken>(); return AdminAccessWs.RemovePerformance(tokenWs, performanceWs); }
public void LogoutAdmin(BLL.SessionToken token) { AdminAccessWs.LogoutAdmin(token.ToWebSeriveObject<WS.SessionToken>()); }
public bool RemoveVenue(BLL.SessionToken token, BLL.Venue venue) { var venueWs = venue.ToWebSeriveObject<WS.Venue>(); var tokenWs = token.ToWebSeriveObject<WS.SessionToken>(); return AdminAccessWs.RemoveVenue(tokenWs, venueWs); }
public bool ModifyArtistRange(BLL.SessionToken token, List<BLL.Artist> artists) { var artistsWs = ProxyHelper.ToArrayOf<BLL.Artist, WS.Artist>(artists); var tokenWs = token.ToWebSeriveObject<WS.SessionToken>(); return AdminAccessWs.ModifyArtistRange(tokenWs, artistsWs); }
public BLL.SessionToken RequestSessionToken(BLL.User user) { var result = AdminAccessWs.RequestSessionToken(user.ToWebSeriveObject<WS.User>()); return result.ToDomainObject<BLL.SessionToken>(); }
public static async Task<List<BLL.Performance>> GetPerformancesAsync(this IViewAccessBll accessBll, BLL.PagingData page) { return ProxyHelper.ToListOf<WS.Performance, BLL.Performance>( await ViewAccessWs.GetPerformancesAsync(page.ToWebSeriveObject<WS.PagingData>())); }
public BLL.PagingData RequestUserPagingData(BLL.SessionToken token) { return AdminAccessWs.RequestUserPagingData( token.ToWebSeriveObject<WS.SessionToken>()).ToDomainObject<BLL.PagingData>(); }
public static async Task<List<BLL.Performance>> GetPerformancesPerVenueAsync(this IViewAccessBll accessBll, BLL.Venue venue) { return ProxyHelper.ToListOf<WS.Performance, BLL.Performance>( await ViewAccessWs.GetPerformancesPerVenueAsync(venue.ToWebSeriveObject<WS.Venue>())); }
public List<BLL.Location> GetLocations(BLL.PagingData page) { return ProxyHelper.ToListOf<WS.Location, BLL.Location>( _viewAccessWs.GetLocations(page.ToWebSeriveObject<WS.PagingData>())); }