├── .gitattributes ├── .gitignore ├── Database_Scripts.rar ├── EventApplicationCore.Concrete ├── BookEquipmentConcrete.cs ├── BookFlowerConcrete.cs ├── BookFoodConcrete.cs ├── BookingLightConcrete.cs ├── BookingVenueConcrete.cs ├── CityConcrete.cs ├── CountryConcrete.cs ├── DatabaseContext.cs ├── DishtypesConcrete.cs ├── EquipmentConcrete.cs ├── EventApplicationCore.Concrete.csproj ├── EventConcrete.cs ├── FlowerConcrete.cs ├── FoodConcrete.cs ├── LightConcrete.cs ├── LoginConcrete.cs ├── Properties │ └── AssemblyInfo.cs ├── RegistrationConcrete.cs ├── RolesConcrete.cs ├── StateConcrete.cs ├── TotalbillingConcrete.cs ├── VenueConcrete.cs ├── app.config └── packages.config ├── EventApplicationCore.Interface ├── EventApplicationCore.Interface.csproj ├── IBookEquipment.cs ├── IBookFlower.cs ├── IBookFood.cs ├── IBookingLight.cs ├── IBookingVenue.cs ├── ICity.cs ├── ICountry.cs ├── IDishtypes.cs ├── IEquipment.cs ├── IEvent.cs ├── IFlower.cs ├── IFood.cs ├── ILight.cs ├── ILogin.cs ├── IRegistration.cs ├── IRoles.cs ├── IState.cs ├── ITotalbilling.cs ├── IVenue.cs └── Properties │ └── AssemblyInfo.cs ├── EventApplicationCore.Model ├── BillingModel.cs ├── BookingDetail.cs ├── BookingEquipment.cs ├── BookingFlower.cs ├── BookingFood.cs ├── BookingLight.cs ├── BookingStatus.cs ├── BookingVenue.cs ├── ChangePasswordModel.cs ├── City.cs ├── CompleteBookingModel.cs ├── Country.cs ├── Dishtypes.cs ├── Equipment.cs ├── EquipmentModel.cs ├── Event.cs ├── EventApplicationCore.Model.csproj ├── Flower.cs ├── FlowerModel.cs ├── Food.cs ├── FoodModel.cs ├── Light.cs ├── LightModel.cs ├── LoginViewModel.cs ├── Properties │ └── AssemblyInfo.cs ├── Registration.cs ├── RegistrationViewModel.cs ├── Role.cs ├── State.cs └── Venue.cs ├── EventApplicationCore.sln ├── EventApplicationCore ├── .bowerrc ├── Controllers │ ├── AdminController.cs │ ├── AllBookingController.cs │ ├── AllEquipmentController.cs │ ├── AllFlowerController.cs │ ├── AllFoodController.cs │ ├── AllLightController.cs │ ├── AllVenueController.cs │ ├── BookEquipmentController.cs │ ├── BookFlowerController.cs │ ├── BookFoodController.cs │ ├── BookLightController.cs │ ├── BookingController.cs │ ├── CityAPIController.cs │ ├── CountryAPIController.cs │ ├── CreateAdminUserController.cs │ ├── CustomerController.cs │ ├── EquipmentController.cs │ ├── ErrorController.cs │ ├── EventDataController.cs │ ├── FlowerController.cs │ ├── FoodController.cs │ ├── HomeController.cs │ ├── LightController.cs │ ├── LoginController.cs │ ├── PrintOrderController.cs │ ├── RegistrationController.cs │ ├── ShowAllBookingController.cs │ ├── ShowBookingDetailsController.cs │ ├── StateAPIController.cs │ ├── SuperAdminController.cs │ ├── UserProfileController.cs │ ├── UsersProfilesController.cs │ ├── VenueController.cs │ └── VenueDataController.cs ├── EventApplicationCore.csproj ├── Filters │ ├── CustomExceptionFilterAttribute.cs │ ├── ValidateAdminSession.cs │ ├── ValidateSuperAdminSession.cs │ └── ValidateUserSession.cs ├── Library │ └── EncryptionLibrary.cs ├── Program.cs ├── Properties │ └── launchSettings.json ├── Startup.cs ├── Views │ ├── Admin │ │ └── Dashboard.cshtml │ ├── AllBooking │ │ └── Bookings.cshtml │ ├── AllEquipment │ │ └── ViewAllEquipments.cshtml │ ├── AllFlower │ │ └── ViewAllFlowers.cshtml │ ├── AllFood │ │ └── ViewAllFoods.cshtml │ ├── AllLight │ │ └── ViewAllLights.cshtml │ ├── AllVenue │ │ └── ViewAllVenues.cshtml │ ├── BookEquipment │ │ ├── Equipment.cshtml │ │ └── Success.cshtml │ ├── BookFlower │ │ ├── BookFlower.cshtml │ │ └── Success.cshtml │ ├── BookFood │ │ ├── BookFood.cshtml │ │ └── Success.cshtml │ ├── BookLight │ │ ├── BookLight.cshtml │ │ └── Success.cshtml │ ├── Booking │ │ ├── BookingVenue.cshtml │ │ └── Success.cshtml │ ├── CreateAdminUser │ │ └── Create.cshtml │ ├── Customer │ │ ├── ChangePassword.cshtml │ │ └── Dashboard.cshtml │ ├── Equipment │ │ ├── Add.cshtml │ │ └── Edit.cshtml │ ├── Error │ │ └── Error.cshtml │ ├── Flower │ │ ├── Add.cshtml │ │ └── Edit.cshtml │ ├── Food │ │ ├── Add.cshtml │ │ └── Edit.cshtml │ ├── Home │ │ ├── About.cshtml │ │ ├── Contact.cshtml │ │ └── Index.cshtml │ ├── Light │ │ ├── Add.cshtml │ │ └── Edit.cshtml │ ├── Login │ │ └── Login.cshtml │ ├── PrintOrder │ │ └── Print.cshtml │ ├── Registration │ │ └── Registration.cshtml │ ├── Shared │ │ ├── Error.cshtml │ │ ├── _AdminLayout.cshtml │ │ ├── _Layout.cshtml │ │ ├── _LayoutCustomer.cshtml │ │ ├── _SuperAdminLayout.cshtml │ │ └── _ValidationScriptsPartial.cshtml │ ├── ShowAllBooking │ │ ├── AllBookings.cshtml │ │ └── ShowOrder.cshtml │ ├── ShowBookingDetails │ │ ├── AllBookings.cshtml │ │ └── BookingApproval.cshtml │ ├── SuperAdmin │ │ └── Dashboard.cshtml │ ├── UserProfile │ │ └── Profile.cshtml │ ├── UsersProfiles │ │ └── Profile.cshtml │ ├── Venue │ │ ├── Add.cshtml │ │ └── Edit.cshtml │ ├── _ViewImports.cshtml │ └── _ViewStart.cshtml ├── appsettings.Development.json ├── appsettings.json ├── bower.json ├── bundleconfig.json └── wwwroot │ ├── EquipmentImages │ ├── 6671822f-4a69-4aa5-a75f-a279328cf334.png │ ├── c1bf21d9-361e-400b-b706-eb2067bd6576.jpg │ └── f3caaf4b-c008-4a22-8fea-c5f8b30c0dd6.jpg │ ├── FlowerImages │ ├── 3af3b4de-4b03-4c2b-908e-654da6b40942.jpg │ ├── 70f41879-909d-45a8-a6d9-dba7bb33f0d6.jpg │ └── cbd90318-99e7-45c2-bddb-3a3e2089208f.jpg │ ├── FoodImages │ ├── 411ea912-758d-4f02-b9e0-ea9ca9e95816.jpg │ ├── 6406e92b-9002-4c58-98ed-1be4e6c6d8fd.jpg │ ├── c9d6c5c8-b51e-4137-9222-0cea6534354a.jpg │ ├── e0f91736-4988-4569-b6b5-749c19b9fd14.jpg │ └── f482caad-1826-444c-8d72-a2bacd6f496b.jpg │ ├── LightImages │ ├── 0dfa03d5-2f9d-44f0-87ad-f07e0f0b7224.jpg │ ├── 447f0ee9-57b9-46f7-8b04-05c9fde853c8.jpg │ └── 84a52172-2dae-43d3-ba8b-e6126ef7d248.jpg │ ├── VenueImages │ ├── 03ab9cbf-2da4-4a18-be0e-8a1a3a7c8331.jpg │ ├── 08e32216-b2ab-477b-9a42-25e3d276b33a.jpg │ ├── 1a1932c6-6a5a-4505-b501-b56ac8fa8e27.png │ ├── 3b2b3b1c-643b-42b6-b815-1bebbd27d3f6.jpg │ ├── 3be651ec-d3ae-4272-b79b-653e5f9f576a.jpg │ ├── 4cc281ec-7ed9-4232-b983-4c29ac1d707a.jpg │ ├── 5c476a60-febd-4cce-882c-32e04a0fc942.jpg │ ├── 5d7d17c5-c393-4af8-acd5-52f0724bd6cc.jpg │ ├── 938385f1-a531-4be3-9521-3e495f180588.jpg │ ├── 9c66df83-9f01-4735-ab52-6dc1173ebb86.png │ ├── a56c962c-ee52-4623-976b-65ebf461728d.jpg │ ├── aac3e757-74e6-41e0-83e9-acf620a5dca1.jpg │ ├── c8e2bfdd-83e4-403d-924f-a11b6f5150c9.jpg │ ├── d0894394-1dce-4b3b-87a6-1f97a05417a2.jpg │ └── ef32859d-4414-46e6-98b6-7ccd876650e2.png │ ├── css │ ├── angularPrint.css │ ├── main.css │ ├── my-slider-1.0.0.css │ ├── site.css │ └── site.min.css │ ├── favicon.ico │ ├── images │ ├── banner1.svg │ ├── banner2.svg │ ├── banner3.svg │ ├── banner4.svg │ ├── bn-slide-off.png │ └── bn-slide-on.png │ ├── js │ ├── my-slider-1.0.0.js │ ├── site.js │ └── site.min.js │ └── lib │ ├── bootstrap │ ├── .bower.json │ ├── CHANGELOG.md │ ├── Gemfile │ ├── Gemfile.lock │ ├── Gruntfile.js │ ├── ISSUE_TEMPLATE.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── dist │ │ ├── css │ │ │ ├── bootstrap-theme.css │ │ │ ├── bootstrap-theme.css.map │ │ │ ├── bootstrap-theme.min.css │ │ │ ├── bootstrap-theme.min.css.map │ │ │ ├── bootstrap.css │ │ │ ├── bootstrap.css.map │ │ │ ├── bootstrap.min.css │ │ │ └── bootstrap.min.css.map │ │ ├── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ └── js │ │ │ ├── bootstrap.js │ │ │ ├── bootstrap.min.js │ │ │ └── npm.js │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ ├── grunt │ │ ├── .jshintrc │ │ ├── bs-commonjs-generator.js │ │ ├── bs-glyphicons-data-generator.js │ │ ├── bs-lessdoc-parser.js │ │ ├── bs-raw-files-generator.js │ │ ├── change-version.js │ │ ├── configBridge.json │ │ ├── npm-shrinkwrap.json │ │ └── sauce_browsers.yml │ ├── js │ │ ├── .jscsrc │ │ ├── .jshintrc │ │ ├── affix.js │ │ ├── alert.js │ │ ├── button.js │ │ ├── carousel.js │ │ ├── collapse.js │ │ ├── dropdown.js │ │ ├── modal.js │ │ ├── popover.js │ │ ├── scrollspy.js │ │ ├── tab.js │ │ ├── tooltip.js │ │ └── transition.js │ ├── less │ │ ├── .csscomb.json │ │ ├── .csslintrc │ │ ├── alerts.less │ │ ├── badges.less │ │ ├── bootstrap.less │ │ ├── breadcrumbs.less │ │ ├── button-groups.less │ │ ├── buttons.less │ │ ├── carousel.less │ │ ├── close.less │ │ ├── code.less │ │ ├── component-animations.less │ │ ├── dropdowns.less │ │ ├── forms.less │ │ ├── glyphicons.less │ │ ├── grid.less │ │ ├── input-groups.less │ │ ├── jumbotron.less │ │ ├── labels.less │ │ ├── list-group.less │ │ ├── media.less │ │ ├── mixins.less │ │ ├── mixins │ │ │ ├── alerts.less │ │ │ ├── background-variant.less │ │ │ ├── border-radius.less │ │ │ ├── buttons.less │ │ │ ├── center-block.less │ │ │ ├── clearfix.less │ │ │ ├── forms.less │ │ │ ├── gradients.less │ │ │ ├── grid-framework.less │ │ │ ├── grid.less │ │ │ ├── hide-text.less │ │ │ ├── image.less │ │ │ ├── labels.less │ │ │ ├── list-group.less │ │ │ ├── nav-divider.less │ │ │ ├── nav-vertical-align.less │ │ │ ├── opacity.less │ │ │ ├── pagination.less │ │ │ ├── panels.less │ │ │ ├── progress-bar.less │ │ │ ├── reset-filter.less │ │ │ ├── reset-text.less │ │ │ ├── resize.less │ │ │ ├── responsive-visibility.less │ │ │ ├── size.less │ │ │ ├── tab-focus.less │ │ │ ├── table-row.less │ │ │ ├── text-emphasis.less │ │ │ ├── text-overflow.less │ │ │ └── vendor-prefixes.less │ │ ├── modals.less │ │ ├── navbar.less │ │ ├── navs.less │ │ ├── normalize.less │ │ ├── pager.less │ │ ├── pagination.less │ │ ├── panels.less │ │ ├── popovers.less │ │ ├── print.less │ │ ├── progress-bars.less │ │ ├── responsive-embed.less │ │ ├── responsive-utilities.less │ │ ├── scaffolding.less │ │ ├── tables.less │ │ ├── theme.less │ │ ├── thumbnails.less │ │ ├── tooltip.less │ │ ├── type.less │ │ ├── utilities.less │ │ ├── variables.less │ │ └── wells.less │ ├── nuget │ │ ├── MyGet.ps1 │ │ ├── bootstrap.less.nuspec │ │ └── bootstrap.nuspec │ ├── package.js │ └── package.json │ ├── dataTablesScripts │ ├── dataTables.bootstrap.min.css │ ├── dataTables.bootstrap4.min.js │ ├── jquery.dataTables.min.js │ └── responsive.bootstrap.min.css │ ├── datetimepicker │ ├── images │ │ └── ui-icons_444444_256x240.png │ ├── jquery-1.12.4.js │ ├── jqueryui.css │ └── jqueryui.js │ ├── jquery-validation-unobtrusive │ ├── .bower.json │ ├── jquery.validate.unobtrusive.js │ └── jquery.validate.unobtrusive.min.js │ ├── jquery-validation │ ├── .bower.json │ ├── LICENSE.md │ └── dist │ │ ├── additional-methods.js │ │ ├── additional-methods.min.js │ │ ├── jquery.validate.js │ │ └── jquery.validate.min.js │ └── jquery │ ├── .bower.json │ ├── LICENSE.txt │ └── dist │ ├── jquery.js │ ├── jquery.min.js │ └── jquery.min.map ├── README.md ├── ReadMe_First.txt ├── image001.png ├── image021.png ├── image027.png ├── image030.png ├── image032.jpg ├── image053.jpg ├── image056.jpg ├── image057.jpg └── image059.jpg /Database_Scripts.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/Database_Scripts.rar -------------------------------------------------------------------------------- /EventApplicationCore.Concrete/BookEquipmentConcrete.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Interface; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using EventApplicationCore.Model; 8 | 9 | namespace EventApplicationCore.Concrete 10 | { 11 | public class BookEquipmentConcrete : IBookEquipment 12 | { 13 | private DatabaseContext _context; 14 | 15 | public BookEquipmentConcrete(DatabaseContext context) 16 | { 17 | _context = context; 18 | } 19 | public int BookEquipment(BookingEquipment BookingEquipment) 20 | { 21 | try 22 | { 23 | if (BookingEquipment != null) 24 | { 25 | _context.BookingEquipment.Add(BookingEquipment); 26 | _context.SaveChanges(); 27 | return BookingEquipment.BookingID; 28 | } 29 | else 30 | { 31 | return 0; 32 | } 33 | } 34 | catch (Exception) 35 | { 36 | 37 | throw; 38 | } 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /EventApplicationCore.Concrete/BookFlowerConcrete.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Interface; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using EventApplicationCore.Model; 8 | 9 | namespace EventApplicationCore.Concrete 10 | { 11 | public class BookFlowerConcrete : IBookFlower 12 | { 13 | private DatabaseContext _context; 14 | 15 | public BookFlowerConcrete(DatabaseContext context) 16 | { 17 | _context = context; 18 | } 19 | 20 | public int BookFlower(BookingFlower bookingflower) 21 | { 22 | try 23 | { 24 | if (bookingflower != null) 25 | { 26 | _context.BookingFlower.Add(bookingflower); 27 | _context.SaveChanges(); 28 | return bookingflower.BookingFlowerID; 29 | } 30 | else 31 | { 32 | return 0; 33 | } 34 | } 35 | catch (Exception) 36 | { 37 | 38 | throw; 39 | } 40 | } 41 | 42 | 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /EventApplicationCore.Concrete/BookFoodConcrete.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Interface; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using EventApplicationCore.Model; 8 | 9 | namespace EventApplicationCore.Concrete 10 | { 11 | public class BookFoodConcrete : IBookFood 12 | { 13 | private DatabaseContext _context; 14 | 15 | public BookFoodConcrete(DatabaseContext context) 16 | { 17 | _context = context; 18 | } 19 | 20 | public int BookFood(BookingFood Food) 21 | { 22 | _context.BookingFood.Add(Food); 23 | return _context.SaveChanges(); 24 | } 25 | 26 | public IEnumerable FoodList(Food Food) 27 | { 28 | 29 | if (Food != null) 30 | { 31 | var FoodList = (from tempfood in _context.Food 32 | where tempfood.FoodType == Food.FoodType && tempfood.MealType == Food.MealType && tempfood.DishType == Food.DishType 33 | select tempfood).ToList(); 34 | return FoodList; 35 | } 36 | else 37 | { 38 | return Enumerable.Empty(); 39 | } 40 | 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /EventApplicationCore.Concrete/BookingLightConcrete.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Interface; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using EventApplicationCore.Model; 8 | 9 | namespace EventApplicationCore.Concrete 10 | { 11 | public class BookingLightConcrete : IBookingLight 12 | { 13 | private DatabaseContext _context; 14 | 15 | public BookingLightConcrete(DatabaseContext context) 16 | { 17 | _context = context; 18 | } 19 | 20 | public int BookingLight(BookingLight bookinglight) 21 | { 22 | try 23 | { 24 | if (bookinglight != null) 25 | { 26 | _context.BookingLight.Add(bookinglight); 27 | _context.SaveChanges(); 28 | return bookinglight.BookLightID; 29 | } 30 | else 31 | { 32 | return 0; 33 | } 34 | } 35 | catch (Exception) 36 | { 37 | 38 | throw; 39 | } 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /EventApplicationCore.Concrete/CityConcrete.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Interface; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using EventApplicationCore.Model; 8 | 9 | namespace EventApplicationCore.Concrete 10 | { 11 | public class CityConcrete : ICity 12 | { 13 | private DatabaseContext _context; 14 | 15 | public CityConcrete(DatabaseContext context) 16 | { 17 | _context = context; 18 | } 19 | 20 | public List ListofCity(int? ID) 21 | { 22 | if (ID == null) 23 | { 24 | return new List(); 25 | } 26 | 27 | var listofcities = (from cities in _context.City 28 | where cities.StateID == ID 29 | select cities).ToList(); 30 | 31 | listofcities.Insert(0, new City { CityID = 0, CityName = "----Select----" }); 32 | 33 | return listofcities; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /EventApplicationCore.Concrete/CountryConcrete.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Interface; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using EventApplicationCore.Model; 8 | 9 | namespace EventApplicationCore.Concrete 10 | { 11 | public class CountryConcrete : ICountry 12 | { 13 | private DatabaseContext _context; 14 | 15 | public CountryConcrete(DatabaseContext context) 16 | { 17 | _context = context; 18 | } 19 | 20 | public List ListofCountry() 21 | { 22 | return _context.Country.ToList(); 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /EventApplicationCore.Concrete/DatabaseContext.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Model; 2 | using Microsoft.EntityFrameworkCore; 3 | 4 | namespace EventApplicationCore.Concrete 5 | { 6 | public class DatabaseContext : DbContext 7 | { 8 | public DatabaseContext(DbContextOptions options) : base(options) 9 | { 10 | 11 | } 12 | 13 | public DbSet Registration { get; set; } 14 | public DbSet Country { get; set; } 15 | public DbSet City { get; set; } 16 | public DbSet States { get; set; } 17 | public DbSet Roles { get; set; } 18 | public DbSet Venue { get; set; } 19 | public DbSet Equipment { get; set; } 20 | public DbSet Food { get; set; } 21 | public DbSet Dishtypes { get; set; } 22 | public DbSet Light { get; set; } 23 | public DbSet Flower { get; set; } 24 | public DbSet BookingDetails { get; set; } 25 | public DbSet BookingVenue { get; set; } 26 | public DbSet Event { get; set; } 27 | public DbSet BookingEquipment { get; set; } 28 | public DbSet BookingFood { get; set; } 29 | public DbSet BookingFlower { get; set; } 30 | public DbSet BookingLight { get; set; } 31 | 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /EventApplicationCore.Concrete/DishtypesConcrete.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Interface; 2 | using EventApplicationCore.Model; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | 7 | namespace EventApplicationCore.Concrete 8 | { 9 | public class DishtypesConcrete : IDishtypes 10 | { 11 | private DatabaseContext _context; 12 | 13 | public DishtypesConcrete(DatabaseContext context) 14 | { 15 | _context = context; 16 | } 17 | 18 | public List GetDishtypeList() 19 | { 20 | try 21 | { 22 | return _context.Dishtypes.ToList(); 23 | } 24 | catch (Exception) 25 | { 26 | throw; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /EventApplicationCore.Concrete/EventConcrete.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Interface; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using EventApplicationCore.Model; 8 | 9 | namespace EventApplicationCore.Concrete 10 | { 11 | public class EventConcrete : IEvent 12 | { 13 | private DatabaseContext _context; 14 | 15 | public EventConcrete(DatabaseContext context) 16 | { 17 | _context = context; 18 | } 19 | 20 | public IEnumerable GetAllEvents() 21 | { 22 | return _context.Event.ToList(); 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /EventApplicationCore.Concrete/LoginConcrete.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Interface; 2 | using EventApplicationCore.Model; 3 | using System; 4 | using System.Linq; 5 | 6 | namespace EventApplicationCore.Concrete 7 | { 8 | public class LoginConcrete : ILogin 9 | { 10 | private DatabaseContext _context; 11 | 12 | public LoginConcrete(DatabaseContext context) 13 | { 14 | _context = context; 15 | } 16 | 17 | public Registration ValidateUser(string userName, string passWord) 18 | { 19 | try 20 | { 21 | var validate = (from user in _context.Registration 22 | where user.Username == userName && user.Password == passWord 23 | select user).SingleOrDefault(); 24 | 25 | return validate; 26 | } 27 | catch (Exception) 28 | { 29 | 30 | throw; 31 | } 32 | } 33 | 34 | public bool UpdatePassword(Registration Registration) 35 | { 36 | _context.Registration.Attach(Registration); 37 | _context.Entry(Registration).Property(x => x.Password).IsModified = true; 38 | int result = _context.SaveChanges(); 39 | 40 | if(result > 0) 41 | { 42 | return true; 43 | } 44 | else 45 | { 46 | return false; 47 | } 48 | } 49 | 50 | 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /EventApplicationCore.Concrete/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("EventApplicationCore.Concrete")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("EventApplicationCore.Concrete")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("84194ffa-c325-46ea-82f4-95fcf9b33813")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /EventApplicationCore.Concrete/RolesConcrete.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Interface; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Concrete 9 | { 10 | public class RolesConcrete : IRoles 11 | { 12 | private DatabaseContext _context; 13 | 14 | public RolesConcrete(DatabaseContext context) 15 | { 16 | _context = context; 17 | } 18 | 19 | 20 | /// 21 | /// Get RoleID Name by RoleName 22 | /// 23 | /// 24 | /// 25 | public int getRolesofUserbyRolename(string Rolename) 26 | { 27 | var roleID = (from role in _context.Roles 28 | where role.Rolename == Rolename 29 | select role.RoleID).SingleOrDefault(); 30 | 31 | return roleID; 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /EventApplicationCore.Concrete/StateConcrete.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Interface; 2 | using EventApplicationCore.Model; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | 9 | namespace EventApplicationCore.Concrete 10 | { 11 | public class StateConcrete : IState 12 | { 13 | private DatabaseContext _context; 14 | 15 | public StateConcrete(DatabaseContext context) 16 | { 17 | _context = context; 18 | } 19 | 20 | public List ListofState(int? ID) 21 | { 22 | if (ID == null) 23 | { 24 | return new List(); 25 | } 26 | 27 | var listofState = (from states in _context.States 28 | where states.CountryID == ID 29 | select states).ToList(); 30 | 31 | listofState.Insert(0, new States { StateID = 0, StateName = "----Select----" }); 32 | 33 | return listofState; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /EventApplicationCore.Concrete/app.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /EventApplicationCore.Interface/IBookEquipment.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Model; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Interface 9 | { 10 | public interface IBookEquipment 11 | { 12 | int BookEquipment(BookingEquipment BookingEquipment); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /EventApplicationCore.Interface/IBookFlower.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Model; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Interface 9 | { 10 | public interface IBookFlower 11 | { 12 | 13 | int BookFlower(BookingFlower bookingflower); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /EventApplicationCore.Interface/IBookFood.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Model; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Interface 9 | { 10 | public interface IBookFood 11 | { 12 | IEnumerable FoodList(Food Food); 13 | int BookFood(BookingFood Food); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /EventApplicationCore.Interface/IBookingLight.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Model; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Interface 9 | { 10 | public interface IBookingLight 11 | { 12 | int BookingLight(BookingLight bookinglight); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /EventApplicationCore.Interface/IBookingVenue.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Model; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Interface 9 | { 10 | public interface IBookingVenue 11 | { 12 | bool checkBookingAvailability(BookingVenue objBV); 13 | int BookEvent(BookingDetails BookingDetail); 14 | int CancelBooking(int? BookingID); 15 | int? BookVenue(BookingVenue objBV); 16 | IEnumerable ShowBookingDetail(int UserID); 17 | IEnumerable ShowBookingDetail(); 18 | int UpdateBookingStatus(string BookingNo, string BookingStatus); 19 | int UpdateBookingStatus(int BookingNo); 20 | IQueryable ShowAllBooking(string sortColumn, string sortColumnDir, string Search); 21 | IQueryable ShowAllBookingUser(string sortColumn, string sortColumnDir, string Search, int Createdby); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /EventApplicationCore.Interface/ICity.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Model; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Interface 9 | { 10 | public interface ICity 11 | { 12 | List ListofCity(int? ID); 13 | } 14 | } -------------------------------------------------------------------------------- /EventApplicationCore.Interface/ICountry.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Model; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Interface 9 | { 10 | public interface ICountry 11 | { 12 | List ListofCountry(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /EventApplicationCore.Interface/IDishtypes.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Model; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Interface 9 | { 10 | public interface IDishtypes 11 | { 12 | List GetDishtypeList(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /EventApplicationCore.Interface/IEquipment.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Model; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Interface 9 | { 10 | public interface IEquipment 11 | { 12 | void SaveEquipment(Equipment Equipment); 13 | IQueryable ShowEquipment(string sortColumn, string sortColumnDir, string Search); 14 | int DeleteEquipment(int id); 15 | Equipment GetEquipmentByID(int id); 16 | void UpdateEquipment(Equipment Equipment); 17 | bool CheckEquipmentAlready(string EquipmentName); 18 | List GetAllEquipment(); 19 | IEnumerable ShowAllEquipment(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /EventApplicationCore.Interface/IEvent.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Model; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Interface 9 | { 10 | public interface IEvent 11 | { 12 | IEnumerable GetAllEvents(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /EventApplicationCore.Interface/IFlower.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Model; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Interface 9 | { 10 | public interface IFlower 11 | { 12 | void SaveFlower(Flower Flower); 13 | IQueryable ShowFlower(string sortColumn, string sortColumnDir, string Search); 14 | int DeleteFlower(int id); 15 | Flower GetFlowerByID(int id); 16 | void UpdateFlower(Flower Flower); 17 | bool CheckFlowerAlready(string FlowerName); 18 | List GetAllFlower(); 19 | IEnumerable ShowAllFlower(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /EventApplicationCore.Interface/IFood.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Model; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Interface 9 | { 10 | public interface IFood 11 | { 12 | void SaveFood(Food Food); 13 | IQueryable ShowFood(string sortColumn, string sortColumnDir, string Search); 14 | int DeleteFood(int id); 15 | Food FoodByID(int id); 16 | void UpdateFood(Food Food); 17 | bool CheckDishNameAlready(string DishName, string FoodType); 18 | List GetAllFood(); 19 | IEnumerable ShowAllFood(); 20 | 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /EventApplicationCore.Interface/ILight.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Model; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Interface 9 | { 10 | public interface ILight 11 | { 12 | void SaveLight(Light Light); 13 | IQueryable ShowLight(string sortColumn, string sortColumnDir, string Search); 14 | int DeleteLight(int id); 15 | Light LightByID(int id); 16 | void UpdateLight(Light Light); 17 | bool CheckLightAlready(string LightName); 18 | List GetAllLight(); 19 | IEnumerable ShowAllLight(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /EventApplicationCore.Interface/ILogin.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Model; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Interface 9 | { 10 | public interface ILogin 11 | { 12 | Registration ValidateUser(string userName, string passWord); 13 | bool UpdatePassword(Registration Registration); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /EventApplicationCore.Interface/IRegistration.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Model; 2 | using System.Linq; 3 | 4 | namespace EventApplicationCore.Interface 5 | { 6 | public interface IRegistration 7 | { 8 | int AddUser(Registration entity); 9 | void AddAdmin(Registration entity); 10 | bool CheckUserNameExists(string Username); 11 | RegistrationViewModel Userinformation(int UserID); 12 | IQueryable UserinformationList(string sortColumn, string sortColumnDir, string Search); 13 | 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /EventApplicationCore.Interface/IRoles.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace EventApplicationCore.Interface 8 | { 9 | public interface IRoles 10 | { 11 | int getRolesofUserbyRolename(string Rolename); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /EventApplicationCore.Interface/IState.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Model; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Interface 9 | { 10 | public interface IState 11 | { 12 | List ListofState(int? ID); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /EventApplicationCore.Interface/ITotalbilling.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Model; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Interface 9 | { 10 | public interface ITotalbilling 11 | { 12 | BillingModel GetBillingDetailsbyBookingNo(string BookingNo); 13 | CompleteBookingModel ShowCompleteBookingDetailsbyBookingNo(string BookingNo); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /EventApplicationCore.Interface/IVenue.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Model; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Interface 9 | { 10 | public interface IVenue 11 | { 12 | void SaveVenue(Venue venue); 13 | void UpdateVenue(Venue venue); 14 | IQueryable ShowVenue(string sortColumn, string sortColumnDir, string Search); 15 | IEnumerable ShowAllVenue(); 16 | int DeleteVenue(int id); 17 | Venue VenueByID(int id); 18 | bool CheckVenueNameAlready(string venueName); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /EventApplicationCore.Interface/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("EventApplicationCore.Interface")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("EventApplicationCore.Interface")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("906d5fda-0584-45c1-ab73-6ecd523001cd")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/BillingModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations.Schema; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Model 9 | { 10 | [NotMapped] 11 | public class BillingModel 12 | { 13 | public string BookingNo { get; set; } 14 | public int? BookingID { get; set; } 15 | public string BookingDate { get; set; } 16 | public int? TotalVenueCost { get; set; } 17 | public int? TotalEquipmentCost { get; set; } 18 | public int? TotalFoodCost { get; set; } 19 | public int? TotalFlowerCost { get; set; } 20 | public int? TotalLightCost { get; set; } 21 | public int? TotalAmount { get; set; } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/BookingDetail.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.ComponentModel.DataAnnotations.Schema; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | 9 | namespace EventApplicationCore.Model 10 | { 11 | public class BookingDetails 12 | { 13 | [Key] 14 | public int BookingID { get; set; } 15 | public string BookingNo { get; set; } 16 | public DateTime? BookingDate { get; set; } 17 | public int? Createdby { get; set; } 18 | public DateTime? CreatedDate { get; set; } 19 | public string BookingApproval { get; set; } 20 | public DateTime? BookingApprovalDate { get; set; } 21 | public string BookingCompletedFlag { get; set; } 22 | } 23 | 24 | [NotMapped] 25 | public class BookingDetailTemp 26 | { 27 | public int BookingID { get; set; } 28 | public string BookingNo { get; set; } 29 | public string BookingDate { get; set; } 30 | public string Createdby { get; set; } 31 | public string CreatedDate { get; set; } 32 | public string BookingApproval { get; set; } 33 | public string BookingApprovalDate { get; set; } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/BookingEquipment.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.ComponentModel.DataAnnotations.Schema; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | 9 | namespace EventApplicationCore.Model 10 | { 11 | public class BookingEquipment 12 | { 13 | [Key] 14 | public int BookingEquipmentID { get; set; } 15 | 16 | public int? EquipmentID { get; set; } 17 | 18 | public int? Createdby { get; set; } 19 | 20 | public DateTime? CreatedDate { get; set; } 21 | 22 | public int BookingID { get; set; } 23 | 24 | [NotMapped] 25 | public List EquipmentList { get; set; } 26 | 27 | 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/BookingFlower.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.ComponentModel.DataAnnotations.Schema; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | 9 | namespace EventApplicationCore.Model 10 | { 11 | public class BookingFlower 12 | { 13 | [Key] 14 | public int BookingFlowerID { get; set; } 15 | public int? FlowerID { get; set; } 16 | public int? Createdby { get; set; } 17 | public DateTime? CreatedDate { get; set; } 18 | public int? BookingID { get; set; } 19 | 20 | [NotMapped] 21 | public List FlowerList { get; set; } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/BookingFood.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.ComponentModel.DataAnnotations.Schema; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | 9 | namespace EventApplicationCore.Model 10 | { 11 | public class BookingFood 12 | { 13 | [Key] 14 | public int BookFoodID { get; set; } 15 | 16 | [Required(ErrorMessage = "Select FoodType")] 17 | public string FoodType { get; set; } 18 | 19 | [Required(ErrorMessage = "Select MealType")] 20 | public string MealType { get; set; } 21 | 22 | [Required(ErrorMessage = "Select DishType")] 23 | public int? DishType { get; set; } 24 | 25 | public int? DishName { get; set; } 26 | 27 | public int? Createdby { get; set; } 28 | public DateTime? CreatedDate { get; set; } 29 | public int BookingID { get; set; } 30 | 31 | [NotMapped] 32 | public List FoodList { get; set; } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/BookingLight.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.ComponentModel.DataAnnotations.Schema; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | 9 | namespace EventApplicationCore.Model 10 | { 11 | public class BookingLight 12 | { 13 | [Key] 14 | public int BookLightID { get; set; } 15 | public string LightType { get; set; } 16 | public int? LightIDSelected { get; set; } 17 | public int? BookingID { get; set; } 18 | public int? Createdby { get; set; } 19 | public DateTime? CreatedDate { get; set; } 20 | 21 | [NotMapped] 22 | public List LightList { get; set; } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/BookingStatus.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace EventApplicationCore.Model 8 | { 9 | public class BookingStatus 10 | { 11 | 12 | public int BookingID { get; set; } 13 | public string Status { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/BookingVenue.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.ComponentModel.DataAnnotations.Schema; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | 9 | namespace EventApplicationCore.Model 10 | { 11 | public class BookingVenue 12 | { 13 | [Key] 14 | public int BookingVenueID { get; set; } 15 | 16 | [Required(ErrorMessage = "Select Venue")] 17 | [Display(Description = "Venue Type")] 18 | public int? VenueID { get; set; } 19 | 20 | [Required(ErrorMessage = "Select Event")] 21 | [Display(Description = " Event Type")] 22 | public int? EventTypeID { get; set; } 23 | 24 | [Required(ErrorMessage = "Required Guest Count")] 25 | [Display(Description = "No .Of Guest")] 26 | public string GuestCount { get; set; } 27 | 28 | public int? Createdby { get; set; } 29 | 30 | public DateTime? CreatedDate { get; set; } 31 | 32 | [NotMapped] 33 | public DateTime? BookingDate { get; set; } 34 | 35 | public int? BookingID { get; set; } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/ChangePasswordModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.ComponentModel.DataAnnotations.Schema; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | 9 | namespace EventApplicationCore.Model 10 | { 11 | [NotMapped] 12 | public class ChangePasswordModel 13 | { 14 | [MinLength(7, ErrorMessage = "Minimum Password must be 7 in charaters")] 15 | [Required(ErrorMessage = "Password Required")] 16 | public string Password { get; set; } 17 | 18 | [Compare("Password", ErrorMessage = "Enter Valid Password")] 19 | public string ConfirmPassword { get; set; } 20 | 21 | [MinLength(7, ErrorMessage = "Minimum Password must be 7 in charaters")] 22 | [Required(ErrorMessage = "Password Required")] 23 | public string NewPassword { get; set; } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/City.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Model 9 | { 10 | public class City 11 | { 12 | [Key] 13 | public int CityID { get; set; } 14 | public string CityName { get; set; } 15 | public int? StateID { get; set; } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/CompleteBookingModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace EventApplicationCore.Model 8 | { 9 | public class CompleteBookingModel 10 | { 11 | public Venue BookingVenue { get; set; } 12 | public List BookingEquipment { get; set; } 13 | public List BookingFood { get; set; } 14 | public List BookingFlower { get; set; } 15 | public List BookingLight { get; set; } 16 | public BillingModel BillingModel { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/Country.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Model 9 | { 10 | public class Country 11 | { 12 | [Key] 13 | public int CountryID { get; set; } 14 | public string Name { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/Dishtypes.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Model 9 | { 10 | public class Dishtypes 11 | { 12 | [Key] 13 | public int ID { get; set; } 14 | public string Dishtype { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/Equipment.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.ComponentModel.DataAnnotations.Schema; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | 9 | namespace EventApplicationCore.Model 10 | { 11 | public class Equipment 12 | { 13 | [Key] 14 | public int EquipmentID { get; set; } 15 | [Required(ErrorMessage = "EquipmentName Required")] 16 | public string EquipmentName { get; set; } 17 | public string EquipmentFilename { get; set; } 18 | public string EquipmentFilePath { get; set; } 19 | public int? Createdby { get; set; } 20 | public DateTime? Createdate { get; set; } 21 | [Required(ErrorMessage = "EquipmentName Required")] 22 | [RegularExpression("([1-9][0-9]*)", ErrorMessage = "Enter only numeric number")] 23 | public int? EquipmentCost { get; set; } 24 | 25 | 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/EquipmentModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations.Schema; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Model 9 | { 10 | [NotMapped] 11 | public class EquipmentModel 12 | { 13 | public int EquipmentID { get; set; } 14 | public string EquipmentName { get; set; } 15 | [NotMapped] 16 | public bool EquipmentChecked { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/Event.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Model 9 | { 10 | public class Event 11 | { 12 | [Key] 13 | public int EventID { get; set; } 14 | public string EventType { get; set; } 15 | public string Status { get; set; } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/Flower.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Model 9 | { 10 | public class Flower 11 | { 12 | [Key] 13 | public int FlowerID { get; set; } 14 | 15 | [Required(ErrorMessage = "Required Flower Name")] 16 | public string FlowerName { get; set; } 17 | 18 | public string FlowerFilename { get; set; } 19 | public string FlowerFilePath { get; set; } 20 | public int? Createdby { get; set; } 21 | public DateTime? Createdate { get; set; } 22 | 23 | [Required(ErrorMessage = "Required Flower Cost")] 24 | [RegularExpression("([1-9][0-9]*)", ErrorMessage = "Enter only numeric number")] 25 | public int? FlowerCost { get; set; } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/FlowerModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations.Schema; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Model 9 | { 10 | public class FlowerModel 11 | { 12 | public int FlowerID { get; set; } 13 | public string FlowerName { get; set; } 14 | 15 | [NotMapped] 16 | public bool FlowerChecked { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/Food.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.ComponentModel.DataAnnotations; 3 | using System.ComponentModel.DataAnnotations.Schema; 4 | 5 | namespace EventApplicationCore.Model 6 | { 7 | public class Food 8 | { 9 | [Key] 10 | public int FoodID { get; set; } 11 | 12 | [Required(ErrorMessage = "FoodType Required")] 13 | [Display(Name = "Food Type")] 14 | public string FoodType { get; set; } 15 | 16 | [Required(ErrorMessage = "FoodName Required")] 17 | [Display(Name = "Food Name")] 18 | public string FoodName { get; set; } 19 | 20 | public string FoodFilename { get; set; } 21 | public string FoodFilePath { get; set; } 22 | public int? Createdby { get; set; } 23 | public DateTime? Createdate { get; set; } 24 | 25 | [RegularExpression("([1-9][0-9]*)", ErrorMessage = "Enter only numeric number")] 26 | [Required(ErrorMessage = "FoodCost Required")] 27 | public int? FoodCost { get; set; } 28 | 29 | [Display(Name = "Meal Type")] 30 | [Required(ErrorMessage = "MealType Required")] 31 | public string MealType { get; set; } 32 | 33 | [Display(Name = "Dish Type")] 34 | [Required(ErrorMessage = "DishType Required")] 35 | public int? DishType { get; set; } 36 | 37 | [NotMapped] 38 | public string DishTypeName { get; set; } 39 | 40 | [NotMapped] 41 | public string FoodTypeName { get; set; } 42 | 43 | [NotMapped] 44 | public string MealTypeName { get; set; } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/FoodModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations.Schema; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Model 9 | { 10 | [NotMapped] 11 | public class FoodModel 12 | { 13 | public int FoodID { get; set; } 14 | public string FoodName { get; set; } 15 | 16 | [NotMapped] 17 | public bool FoodChecked { get; set; } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/Light.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.ComponentModel.DataAnnotations.Schema; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | 9 | namespace EventApplicationCore.Model 10 | { 11 | public class Light 12 | { 13 | [Key] 14 | public int LightID { get; set; } 15 | 16 | [Required(ErrorMessage = "Required Light Type")] 17 | public string LightType { get; set; } 18 | 19 | [Required(ErrorMessage = "Required Light Name")] 20 | public string LightName { get; set; } 21 | 22 | public string LightFilename { get; set; } 23 | 24 | public string LightFilePath { get; set; } 25 | 26 | [RegularExpression("([1-9][0-9]*)", ErrorMessage = "Enter only numeric number")] 27 | [Required(ErrorMessage = "Required Light Cost")] 28 | public int? LightCost { get; set; } 29 | 30 | public int? Createdby { get; set; } 31 | public DateTime? Createdate { get; set; } 32 | 33 | [NotMapped] 34 | public string LightTypeName { get; set; } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/LightModel.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations.Schema; 2 | 3 | namespace EventApplicationCore.Model 4 | { 5 | public class LightModel 6 | { 7 | public int LightID { get; set; } 8 | public string LightName { get; set; } 9 | 10 | [NotMapped] 11 | public bool LightChecked { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/LoginViewModel.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | using System.ComponentModel.DataAnnotations.Schema; 3 | 4 | namespace EventApplicationCore.Model 5 | { 6 | [NotMapped] 7 | public class LoginViewModel 8 | { 9 | 10 | [Required(ErrorMessage = "Username Required")] 11 | public string Username { get; set; } 12 | 13 | [Required(ErrorMessage = "Password Required")] 14 | public string Password { get; set; } 15 | 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("EventApplicationCore.Model")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("EventApplicationCore.Model")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("afad276e-6807-42b5-b752-e678a06c3f00")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/RegistrationViewModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations.Schema; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Model 9 | { 10 | [NotMapped] 11 | public class RegistrationViewModel 12 | { 13 | 14 | public int ID { get; set; } 15 | 16 | public string Name { get; set; } 17 | 18 | public string Address { get; set; } 19 | 20 | public string CityName { get; set; } 21 | 22 | public string StateName { get; set; } 23 | 24 | public string CountryName { get; set; } 25 | 26 | public string Mobileno { get; set; } 27 | 28 | public string EmailID { get; set; } 29 | 30 | public string Username { get; set; } 31 | 32 | public string Password { get; set; } 33 | 34 | public string ConfirmPassword { get; set; } 35 | 36 | public string Gender { get; set; } 37 | 38 | public string Birthdate { get; set; } 39 | 40 | public int? RoleID { get; set; } 41 | 42 | public string CreatedOn { get; set; } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/Role.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Model 9 | { 10 | public partial class Roles 11 | { 12 | [Key] 13 | public int RoleID { get; set; } 14 | public string Rolename { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/State.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Model 9 | { 10 | public partial class States 11 | { 12 | [Key] 13 | public int StateID { get; set; } 14 | public string StateName { get; set; } 15 | public int? CountryID { get; set; } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /EventApplicationCore.Model/Venue.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace EventApplicationCore.Model 9 | { 10 | public class Venue 11 | { 12 | [Key] 13 | public int VenueID { get; set; } 14 | 15 | [Required(ErrorMessage = "VenueName Required")] 16 | public string VenueName { get; set; } 17 | 18 | [Required(ErrorMessage = "VenueCost Required")] 19 | [RegularExpression("([1-9][0-9]*)", ErrorMessage = "Enter only numeric number")] 20 | public int? VenueCost { get; set; } 21 | 22 | public string VenueFilename { get; set; } 23 | 24 | public string VenueFilePath { get; set; } 25 | 26 | public int? Createdby { get; set; } 27 | 28 | public DateTime? Createdate { get; set; } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /EventApplicationCore/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "wwwroot/lib" 3 | } 4 | -------------------------------------------------------------------------------- /EventApplicationCore/Controllers/AdminController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Mvc; 6 | using EventApplicationCore.Filters; 7 | 8 | // For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 9 | 10 | namespace EventApplicationCore.Controllers 11 | { 12 | [ValidateAdminSession] 13 | public class AdminController : Controller 14 | { 15 | // GET: // 16 | public IActionResult Dashboard() 17 | { 18 | return View(); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /EventApplicationCore/Controllers/AllBookingController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Mvc; 6 | 7 | namespace EventApplicationCore.Controllers 8 | { 9 | public class AllBookingController : Controller 10 | { 11 | 12 | public IActionResult Bookings() 13 | { 14 | return View(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /EventApplicationCore/Controllers/AllEquipmentController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Mvc; 6 | using EventApplicationCore.Interface; 7 | 8 | // For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 9 | 10 | namespace EventApplicationCore.Controllers 11 | { 12 | public class AllEquipmentController : Controller 13 | { 14 | private IEquipment _IEquipment; 15 | 16 | public AllEquipmentController(IEquipment IEquipment) 17 | { 18 | _IEquipment = IEquipment; 19 | } 20 | 21 | // GET: // 22 | public IActionResult ViewAllEquipments() 23 | { 24 | return View(); 25 | } 26 | 27 | public IActionResult LoadEquipmentData() 28 | { 29 | try 30 | { 31 | var draw = HttpContext.Request.Form["draw"].FirstOrDefault(); 32 | var start = Request.Form["start"].FirstOrDefault(); 33 | var length = Request.Form["length"].FirstOrDefault(); 34 | 35 | var sortColumn = Request.Form["columns[" + Request.Form["order[0][column]"].FirstOrDefault() + "][name]"].FirstOrDefault(); 36 | var sortColumnDir = Request.Form["order[0][dir]"].FirstOrDefault(); 37 | var searchValue = Request.Form["search[value]"].FirstOrDefault(); 38 | 39 | int pageSize = length != null ? Convert.ToInt32(length) : 0; 40 | int skip = start != null ? Convert.ToInt32(start) : 0; 41 | int recordsTotal = 0; 42 | 43 | var v = _IEquipment.ShowEquipment(sortColumn, sortColumnDir, searchValue); 44 | recordsTotal = v.Count(); 45 | var data = v.Skip(skip).Take(pageSize).ToList(); 46 | return Json(new { draw = draw, recordsFiltered = recordsTotal, recordsTotal = recordsTotal, data = data }); 47 | } 48 | catch (Exception) 49 | { 50 | throw; 51 | } 52 | 53 | } 54 | 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /EventApplicationCore/Controllers/AllFlowerController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Mvc; 6 | using EventApplicationCore.Interface; 7 | 8 | // For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 9 | 10 | namespace EventApplicationCore.Controllers 11 | { 12 | public class AllFlowerController : Controller 13 | { 14 | 15 | private IFlower _IFlower; 16 | 17 | public AllFlowerController(IFlower IFlower) 18 | { 19 | _IFlower = IFlower; 20 | } 21 | 22 | 23 | // GET: // 24 | public IActionResult ViewAllFlowers() 25 | { 26 | return View(); 27 | } 28 | 29 | public IActionResult LoadFlowerData() 30 | { 31 | try 32 | { 33 | var draw = HttpContext.Request.Form["draw"].FirstOrDefault(); 34 | var start = Request.Form["start"].FirstOrDefault(); 35 | var length = Request.Form["length"].FirstOrDefault(); 36 | 37 | var sortColumn = Request.Form["columns[" + Request.Form["order[0][column]"].FirstOrDefault() + "][name]"].FirstOrDefault(); 38 | var sortColumnDir = Request.Form["order[0][dir]"].FirstOrDefault(); 39 | var searchValue = Request.Form["search[value]"].FirstOrDefault(); 40 | 41 | 42 | int pageSize = length != null ? Convert.ToInt32(length) : 0; 43 | int skip = start != null ? Convert.ToInt32(start) : 0; 44 | int recordsTotal = 0; 45 | 46 | var v = _IFlower.ShowFlower(sortColumn, sortColumnDir, searchValue); 47 | recordsTotal = v.Count(); 48 | var data = v.Skip(skip).Take(pageSize).ToList(); 49 | return Json(new { draw = draw, recordsFiltered = recordsTotal, recordsTotal = recordsTotal, data = data }); 50 | } 51 | catch (Exception) 52 | { 53 | throw; 54 | } 55 | 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /EventApplicationCore/Controllers/AllFoodController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Mvc; 6 | using EventApplicationCore.Interface; 7 | 8 | // For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 9 | 10 | namespace EventApplicationCore.Controllers 11 | { 12 | public class AllFoodController : Controller 13 | { 14 | private IFood _IFood; 15 | 16 | public AllFoodController(IFood IFood) 17 | { 18 | _IFood = IFood; 19 | } 20 | 21 | // GET: // 22 | public IActionResult ViewAllFoods() 23 | { 24 | return View(); 25 | } 26 | 27 | public IActionResult LoadFoodData() 28 | { 29 | try 30 | { 31 | var draw = HttpContext.Request.Form["draw"].FirstOrDefault(); 32 | var start = Request.Form["start"].FirstOrDefault(); 33 | var length = Request.Form["length"].FirstOrDefault(); 34 | 35 | var sortColumn = Request.Form["columns[" + Request.Form["order[0][column]"].FirstOrDefault() + "][name]"].FirstOrDefault(); 36 | var sortColumnDir = Request.Form["order[0][dir]"].FirstOrDefault(); 37 | var searchValue = Request.Form["search[value]"].FirstOrDefault(); 38 | 39 | int pageSize = length != null ? Convert.ToInt32(length) : 0; 40 | int skip = start != null ? Convert.ToInt32(start) : 0; 41 | int recordsTotal = 0; 42 | 43 | var v = _IFood.ShowFood(sortColumn, sortColumnDir, searchValue); 44 | recordsTotal = v.Count(); 45 | var data = v.Skip(skip).Take(pageSize).ToList(); 46 | return Json(new { draw = draw, recordsFiltered = recordsTotal, recordsTotal = recordsTotal, data = data }); 47 | } 48 | catch (Exception) 49 | { 50 | 51 | throw; 52 | } 53 | 54 | } 55 | 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /EventApplicationCore/Controllers/AllLightController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Mvc; 6 | using EventApplicationCore.Interface; 7 | 8 | // For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 9 | 10 | namespace EventApplicationCore.Controllers 11 | { 12 | public class AllLightController : Controller 13 | { 14 | private ILight _ILight; 15 | public AllLightController(ILight ILight) 16 | { 17 | _ILight = ILight; 18 | } 19 | 20 | // GET: // 21 | public IActionResult ViewAllLights() 22 | { 23 | return View(); 24 | } 25 | 26 | public IActionResult LoadLightData() 27 | { 28 | try 29 | { 30 | var draw = HttpContext.Request.Form["draw"].FirstOrDefault(); 31 | var start = Request.Form["start"].FirstOrDefault(); 32 | var length = Request.Form["length"].FirstOrDefault(); 33 | 34 | var sortColumn = Request.Form["columns[" + Request.Form["order[0][column]"].FirstOrDefault() + "][name]"].FirstOrDefault(); 35 | var sortColumnDir = Request.Form["order[0][dir]"].FirstOrDefault(); 36 | var searchValue = Request.Form["search[value]"].FirstOrDefault(); 37 | 38 | 39 | int pageSize = length != null ? Convert.ToInt32(length) : 0; 40 | int skip = start != null ? Convert.ToInt32(start) : 0; 41 | int recordsTotal = 0; 42 | 43 | var v = _ILight.ShowLight(sortColumn, sortColumnDir, searchValue); 44 | recordsTotal = v.Count(); 45 | var data = v.Skip(skip).Take(pageSize).ToList(); 46 | return Json(new { draw = draw, recordsFiltered = recordsTotal, recordsTotal = recordsTotal, data = data }); 47 | } 48 | catch (Exception) 49 | { 50 | throw; 51 | } 52 | 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /EventApplicationCore/Controllers/AllVenueController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Mvc; 6 | using EventApplicationCore.Interface; 7 | 8 | // For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 9 | 10 | namespace EventApplicationCore.Controllers 11 | { 12 | public class AllVenueController : Controller 13 | { 14 | 15 | private IVenue _IVenue; 16 | 17 | public AllVenueController(IVenue IVenue) 18 | { 19 | _IVenue = IVenue; 20 | } 21 | 22 | // GET: // 23 | public IActionResult ViewAllVenues() 24 | { 25 | return View(); 26 | } 27 | 28 | public IActionResult LoadVenuesData() 29 | { 30 | try 31 | { 32 | var draw = HttpContext.Request.Form["draw"].FirstOrDefault(); 33 | var start = Request.Form["start"].FirstOrDefault(); 34 | var length = Request.Form["length"].FirstOrDefault(); 35 | 36 | var sortColumn = Request.Form["columns[" + Request.Form["order[0][column]"].FirstOrDefault() + "][name]"].FirstOrDefault(); 37 | var sortColumnDir = Request.Form["order[0][dir]"].FirstOrDefault(); 38 | var searchValue = Request.Form["search[value]"].FirstOrDefault(); 39 | 40 | int pageSize = length != null ? Convert.ToInt32(length) : 0; 41 | int skip = start != null ? Convert.ToInt32(start) : 0; 42 | int recordsTotal = 0; 43 | 44 | var v = _IVenue.ShowVenue(sortColumn, sortColumnDir, searchValue); 45 | recordsTotal = v.Count(); 46 | var data = v.Skip(skip).Take(pageSize).ToList(); 47 | return Json(new { draw = draw, recordsFiltered = recordsTotal, recordsTotal = recordsTotal, data = data }); 48 | } 49 | catch (Exception) 50 | { 51 | throw; 52 | } 53 | 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /EventApplicationCore/Controllers/CityAPIController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Mvc; 6 | using EventApplicationCore.Interface; 7 | using EventApplicationCore.Model; 8 | 9 | // For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 10 | 11 | namespace EventApplicationCore.Controllers 12 | { 13 | [Route("api/[controller]")] 14 | public class CityAPIController : Controller 15 | { 16 | 17 | private ICity _ICity; 18 | 19 | public CityAPIController(ICity ICity) 20 | { 21 | _ICity = ICity; 22 | } 23 | 24 | // POST api/values 25 | [HttpPost] 26 | public List Post(string id) 27 | { 28 | try 29 | { 30 | var listofState = _ICity.ListofCity(Convert.ToInt32(id)); 31 | return listofState; 32 | } 33 | catch (Exception) 34 | { 35 | throw; 36 | } 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /EventApplicationCore/Controllers/CountryAPIController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Mvc; 6 | using EventApplicationCore.Interface; 7 | using EventApplicationCore.Model; 8 | 9 | // For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 10 | 11 | namespace EventApplicationCore.Controllers 12 | { 13 | [Route("api/[controller]")] 14 | public class CountryAPIController : Controller 15 | { 16 | private ICountry _ICountry; 17 | 18 | public CountryAPIController(ICountry ICountry) 19 | { 20 | _ICountry = ICountry; 21 | } 22 | 23 | // GET: api/values 24 | [HttpGet] 25 | public IEnumerable Get() 26 | { 27 | try 28 | { 29 | var listofCountry = _ICountry.ListofCountry(); 30 | listofCountry.Insert(0, new Country { CountryID = 0, Name = "----Select----" }); 31 | return listofCountry; 32 | } 33 | catch (Exception) 34 | { 35 | throw; 36 | } 37 | } 38 | 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /EventApplicationCore/Controllers/ErrorController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Mvc; 6 | 7 | // For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 8 | 9 | namespace EventApplicationCore.Controllers 10 | { 11 | public class ErrorController : Controller 12 | { 13 | // GET: // 14 | public IActionResult Error() 15 | { 16 | HttpContext.Session.Clear(); 17 | return View("Error"); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /EventApplicationCore/Controllers/EventDataController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Mvc; 6 | using EventApplicationCore.Model; 7 | using EventApplicationCore.Interface; 8 | 9 | // For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 10 | 11 | namespace EventApplicationCore.Controllers 12 | { 13 | [Route("api/[controller]")] 14 | public class EventDataController : Controller 15 | { 16 | private IEvent _IEvent; 17 | public EventDataController(IEvent IEvent) 18 | { 19 | _IEvent = IEvent; 20 | } 21 | 22 | // GET: api/values 23 | [HttpGet] 24 | public IEnumerable Get() 25 | { 26 | try 27 | { 28 | return _IEvent.GetAllEvents(); 29 | } 30 | catch (Exception) 31 | { 32 | throw; 33 | } 34 | } 35 | 36 | 37 | 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /EventApplicationCore/Controllers/HomeController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Mvc; 6 | using EventApplicationCore.Interface; 7 | 8 | namespace EventApplicationCore.Controllers 9 | { 10 | public class HomeController : Controller 11 | { 12 | 13 | public IActionResult Index() 14 | { 15 | return View(); 16 | } 17 | 18 | public IActionResult About() 19 | { 20 | ViewData["Message"] = "Your application description page."; 21 | 22 | return View(); 23 | } 24 | 25 | public IActionResult Contact() 26 | { 27 | ViewData["Message"] = "Your contact page."; 28 | 29 | return View(); 30 | } 31 | 32 | public IActionResult Error() 33 | { 34 | return View(); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /EventApplicationCore/Controllers/PrintOrderController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Mvc; 6 | using EventApplicationCore.Interface; 7 | using EventApplicationCore.Filters; 8 | 9 | // For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 10 | 11 | namespace EventApplicationCore.Controllers 12 | { 13 | [ValidateUserSession] 14 | public class PrintOrderController : Controller 15 | { 16 | private ITotalbilling _ITotalbilling; 17 | public PrintOrderController(ITotalbilling ITotalbilling) 18 | { 19 | _ITotalbilling = ITotalbilling; 20 | } 21 | 22 | [HttpGet] 23 | public IActionResult Print(string BookingNo) 24 | { 25 | try 26 | { 27 | if (string.IsNullOrEmpty(BookingNo)) 28 | { 29 | return RedirectToAction("AllBookings", "ShowBookingDetails"); 30 | } 31 | 32 | var details = _ITotalbilling.GetBillingDetailsbyBookingNo(BookingNo); 33 | 34 | return View(details); 35 | } 36 | catch (Exception) 37 | { 38 | throw; 39 | } 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /EventApplicationCore/Controllers/StateAPIController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Mvc; 6 | using EventApplicationCore.Model; 7 | using EventApplicationCore.Interface; 8 | 9 | // For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 10 | 11 | namespace EventApplicationCore.Controllers 12 | { 13 | [Route("api/[controller]")] 14 | public class StateAPIController : Controller 15 | { 16 | private IState _IState; 17 | 18 | public StateAPIController(IState IState) 19 | { 20 | _IState = IState; 21 | } 22 | 23 | // POST api/values 24 | [HttpPost] 25 | public List Post(string id) 26 | { 27 | try 28 | { 29 | if (id == null) 30 | { 31 | return null; 32 | } 33 | 34 | var listofState = _IState.ListofState(Convert.ToInt32(id)); 35 | return listofState; 36 | } 37 | catch (Exception) 38 | { 39 | throw; 40 | } 41 | } 42 | 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /EventApplicationCore/Controllers/SuperAdminController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Mvc; 6 | 7 | // For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 8 | 9 | namespace EventApplicationCore.Controllers 10 | { 11 | public class SuperAdminController : Controller 12 | { 13 | // GET: // 14 | public IActionResult Dashboard() 15 | { 16 | return View(); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /EventApplicationCore/Controllers/UserProfileController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Mvc; 6 | using EventApplicationCore.Interface; 7 | using Microsoft.AspNetCore.Http; 8 | using EventApplicationCore.Filters; 9 | 10 | // For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 11 | 12 | namespace EventApplicationCore.Controllers 13 | { 14 | [ValidateUserSession] 15 | public class UserProfileController : Controller 16 | { 17 | IRegistration _IRepository; 18 | public UserProfileController(IRegistration IRepository) 19 | { 20 | _IRepository = IRepository; 21 | } 22 | 23 | [HttpGet] 24 | public IActionResult Profile() 25 | { 26 | try 27 | { 28 | var profile = _IRepository.Userinformation(Convert.ToInt32(HttpContext.Session.GetString("UserID"))); 29 | return View(profile); 30 | } 31 | catch (Exception) 32 | { 33 | throw; 34 | } 35 | } 36 | 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /EventApplicationCore/Controllers/UsersProfilesController.cs: -------------------------------------------------------------------------------- 1 | using EventApplicationCore.Interface; 2 | using Microsoft.AspNetCore.Http; 3 | using Microsoft.AspNetCore.Mvc; 4 | using System; 5 | using System.Linq; 6 | 7 | 8 | namespace EventApplicationCore.Controllers 9 | { 10 | public class UsersProfilesController : Controller 11 | { 12 | IRegistration _IRepository; 13 | public UsersProfilesController(IRegistration IRepository) 14 | { 15 | _IRepository = IRepository; 16 | } 17 | 18 | [HttpGet] 19 | public IActionResult Profile() 20 | { 21 | return View(); 22 | } 23 | 24 | public IActionResult LoadUserProfilesData() 25 | { 26 | try 27 | { 28 | var draw = HttpContext.Request.Form["draw"].FirstOrDefault(); 29 | var start = Request.Form["start"].FirstOrDefault(); 30 | var length = Request.Form["length"].FirstOrDefault(); 31 | 32 | var sortColumn = Request.Form["columns[" + Request.Form["order[0][column]"].FirstOrDefault() + "][name]"].FirstOrDefault(); 33 | var sortColumnDir = Request.Form["order[0][dir]"].FirstOrDefault(); 34 | var searchValue = Request.Form["search[value]"].FirstOrDefault(); 35 | 36 | int pageSize = length != null ? Convert.ToInt32(length) : 0; 37 | int skip = start != null ? Convert.ToInt32(start) : 0; 38 | int recordsTotal = 0; 39 | 40 | var v = _IRepository.UserinformationList(sortColumn, sortColumnDir, searchValue); 41 | recordsTotal = v.Count(); 42 | var data = v.Skip(skip).Take(pageSize).ToList(); 43 | return Json(new { draw = draw, recordsFiltered = recordsTotal, recordsTotal = recordsTotal, data = data }); 44 | } 45 | catch (Exception) 46 | { 47 | throw; 48 | } 49 | 50 | } 51 | 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /EventApplicationCore/Controllers/VenueDataController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Mvc; 6 | using EventApplicationCore.Interface; 7 | using EventApplicationCore.Model; 8 | 9 | // For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 10 | 11 | namespace EventApplicationCore.Controllers 12 | { 13 | [Route("api/[controller]")] 14 | public class VenueDataController : Controller 15 | { 16 | private IVenue _IVenue; 17 | public VenueDataController(IVenue IVenue) 18 | { 19 | _IVenue = IVenue; 20 | } 21 | 22 | // GET: api/values 23 | [HttpGet] 24 | public IEnumerable Get() 25 | { 26 | return _IVenue.ShowAllVenue(); 27 | } 28 | 29 | // GET api/values/5 30 | [HttpGet("{id}")] 31 | public Venue Get(int id) 32 | { 33 | return _IVenue.VenueByID(id); 34 | } 35 | 36 | // DELETE api/values/5 37 | [HttpDelete("{id}")] 38 | public string Delete(int id) 39 | { 40 | _IVenue.DeleteVenue(id); 41 | return "Success"; 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /EventApplicationCore/EventApplicationCore.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net461 5 | $(PackageTargetFallback);portable-net45+win8+wp8+wpa81; 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /EventApplicationCore/Filters/CustomExceptionFilterAttribute.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Hosting; 2 | using Microsoft.AspNetCore.Mvc; 3 | using Microsoft.AspNetCore.Mvc.Filters; 4 | using Microsoft.AspNetCore.Mvc.ModelBinding; 5 | using Microsoft.AspNetCore.Mvc.ViewFeatures; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Threading.Tasks; 10 | 11 | namespace EventApplicationCore.Filters 12 | { 13 | public class CustomExceptionFilterAttribute : ExceptionFilterAttribute 14 | { 15 | public override void OnException(ExceptionContext context) 16 | { 17 | context.Result = new RedirectResult("/Error/Error"); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /EventApplicationCore/Filters/ValidateAdminSession.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Http; 2 | using Microsoft.AspNetCore.Mvc; 3 | using Microsoft.AspNetCore.Mvc.Filters; 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Linq; 7 | using System.Threading.Tasks; 8 | 9 | namespace EventApplicationCore.Filters 10 | { 11 | public class ValidateAdminSession : ActionFilterAttribute 12 | { 13 | public override void OnActionExecuting(ActionExecutingContext context) 14 | { 15 | if (!string.IsNullOrEmpty(Convert.ToString(context.HttpContext.Session.GetString("RoleID")))) 16 | { 17 | 18 | string UserCurrentRole = (string)context.HttpContext.Session.GetString("RoleID"); 19 | 20 | if (UserCurrentRole != "1") //Admin Role = 1 21 | { 22 | 23 | ViewResult result = new ViewResult(); 24 | result.ViewName = "Error"; 25 | 26 | var controller = context.Controller as Controller; 27 | controller.ViewData["ErrorMessage"] = "Invalid User"; 28 | controller.HttpContext.Session.Clear(); 29 | context.Result = result; 30 | } 31 | 32 | } 33 | else 34 | { 35 | ViewResult result = new ViewResult(); 36 | result.ViewName = "Error"; 37 | 38 | var controller = context.Controller as Controller; 39 | controller.ViewData["ErrorMessage"] = "You Session has been Expired"; 40 | controller.HttpContext.Session.Clear(); 41 | context.Result = result; 42 | } 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /EventApplicationCore/Filters/ValidateSuperAdminSession.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Http; 2 | using Microsoft.AspNetCore.Mvc; 3 | using Microsoft.AspNetCore.Mvc.Filters; 4 | using System; 5 | 6 | namespace EventApplicationCore.Filters 7 | { 8 | public class ValidateSuperAdminSession : ActionFilterAttribute 9 | { 10 | public override void OnActionExecuting(ActionExecutingContext context) 11 | { 12 | if (!string.IsNullOrEmpty(Convert.ToString(context.HttpContext.Session.GetString("RoleID")))) 13 | { 14 | 15 | string UserCurrentRole = (string)context.HttpContext.Session.GetString("RoleID"); 16 | 17 | if (UserCurrentRole != "3") //SuperAdmin Role = 3 18 | { 19 | ViewResult result = new ViewResult(); 20 | result.ViewName = "Error"; 21 | 22 | var controller = context.Controller as Controller; 23 | controller.ViewData["ErrorMessage"] = "Invalid User"; 24 | controller.HttpContext.Session.Clear(); 25 | context.Result = result; 26 | } 27 | 28 | } 29 | else 30 | { 31 | ViewResult result = new ViewResult(); 32 | result.ViewName = "Error"; 33 | 34 | var controller = context.Controller as Controller; 35 | controller.ViewData["ErrorMessage"] = "You Session has been Expired"; 36 | controller.HttpContext.Session.Clear(); 37 | context.Result = result; 38 | } 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /EventApplicationCore/Filters/ValidateUserSession.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Http; 2 | using Microsoft.AspNetCore.Mvc; 3 | using Microsoft.AspNetCore.Mvc.Filters; 4 | using Microsoft.AspNetCore.Mvc.ViewFeatures; 5 | using Microsoft.AspNetCore.Mvc.ViewFeatures.Internal; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Threading.Tasks; 10 | 11 | namespace EventApplicationCore.Filters 12 | { 13 | public class ValidateUserSession : ActionFilterAttribute 14 | { 15 | public override void OnActionExecuting(ActionExecutingContext context) 16 | { 17 | if (!string.IsNullOrEmpty(Convert.ToString(context.HttpContext.Session.GetString("RoleID")))) 18 | { 19 | 20 | string UserCurrentRole = (string)context.HttpContext.Session.GetString("RoleID"); 21 | 22 | if (UserCurrentRole != "2") //User Role = 2 23 | { 24 | ViewResult result = new ViewResult(); 25 | result.ViewName = "Error"; 26 | 27 | var controller = context.Controller as Controller; 28 | controller.ViewData["ErrorMessage"] = "Invalid User"; 29 | controller.HttpContext.Session.Clear(); 30 | context.Result = result; 31 | } 32 | 33 | } 34 | else 35 | { 36 | ViewResult result = new ViewResult(); 37 | result.ViewName = "Error"; 38 | 39 | var controller = context.Controller as Controller; 40 | controller.ViewData["ErrorMessage"] = "You Session has been Expired"; 41 | controller.HttpContext.Session.Clear(); 42 | context.Result = result; 43 | 44 | } 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /EventApplicationCore/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Threading.Tasks; 6 | using Microsoft.AspNetCore.Hosting; 7 | 8 | namespace EventApplicationCore 9 | { 10 | public class Program 11 | { 12 | public static void Main(string[] args) 13 | { 14 | var host = new WebHostBuilder() 15 | .UseKestrel() 16 | .UseContentRoot(Directory.GetCurrentDirectory()) 17 | .UseIISIntegration() 18 | .UseStartup() 19 | .UseApplicationInsights() 20 | .Build(); 21 | 22 | host.Run(); 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /EventApplicationCore/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "iisSettings": { 3 | "windowsAuthentication": false, 4 | "anonymousAuthentication": true, 5 | "iisExpress": { 6 | "applicationUrl": "http://localhost:54544/", 7 | "sslPort": 0 8 | } 9 | }, 10 | "profiles": { 11 | "IIS Express": { 12 | "commandName": "IISExpress", 13 | "launchBrowser": true, 14 | "environmentVariables": { 15 | "ASPNETCORE_ENVIRONMENT": "Development" 16 | } 17 | }, 18 | "EventApplicationCore": { 19 | "commandName": "Project", 20 | "launchBrowser": true, 21 | "environmentVariables": { 22 | "ASPNETCORE_ENVIRONMENT": "Development" 23 | }, 24 | "applicationUrl": "http://localhost:54545/" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /EventApplicationCore/Views/Admin/Dashboard.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_AdminLayout.cshtml"; 3 | } -------------------------------------------------------------------------------- /EventApplicationCore/Views/AllBooking/Bookings.cshtml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /EventApplicationCore/Views/BookEquipment/Equipment.cshtml: -------------------------------------------------------------------------------- 1 | @model EventApplicationCore.Model.BookingEquipment 2 | @{ 3 | Layout = "~/Views/Shared/_LayoutCustomer.cshtml"; 4 | } 5 | 6 |
7 |
8 |
9 |

Book Equipment

10 |
11 | @Html.AntiForgeryToken() 12 | @Html.ValidationSummary(true) 13 | @for (int i = 0; i < Model.EquipmentList.Count(); i++) 14 | { 15 | 16 | 17 | 18 | 19 |
20 | } 21 |
22 | 23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 | @{ 31 | var data = (List)ViewBag.SliderEquipmentImages; 32 | 33 | for (int i = 0; i < (data.Count()); i++) 34 | { 35 |
36 |
@data[i].EquipmentName
37 | @data[i].EquipmentName 38 |
39 |
40 | @if (i == 0) 41 | { 42 | 43 | } 44 | else 45 | { 46 | 47 | } 48 |
49 | } 50 | } 51 |
52 |
53 |
54 |
55 |
-------------------------------------------------------------------------------- /EventApplicationCore/Views/BookEquipment/Success.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_LayoutCustomer.cshtml"; 3 | } 4 | 5 | @if (ViewData["BookingEquipmentMessage"] != null) 6 | { 7 |

@ViewData["BookingEquipmentMessage"]

8 |

Next Process BookEquipment

9 |

10 | @Html.ActionLink("Click Here to Book Food", "BookFood", "BookFood") 11 |

12 | } -------------------------------------------------------------------------------- /EventApplicationCore/Views/BookFlower/BookFlower.cshtml: -------------------------------------------------------------------------------- 1 | @model EventApplicationCore.Model.BookingFlower 2 | @{ 3 | Layout = "~/Views/Shared/_LayoutCustomer.cshtml"; 4 | } 5 | 6 |
7 |
8 |
9 |

Book Flowers

10 |
11 | @Html.ValidationSummary(true) 12 | @Html.AntiForgeryToken() 13 | @for (int i = 0; i < Model.FlowerList.Count(); i++) 14 | { 15 | 16 | 17 | 18 | 19 |
20 | } 21 |
22 | 23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 | @{ 31 | var data = (List)ViewBag.SliderFlowerImages; 32 | 33 | for (int i = 0; i < (data.Count()); i++) 34 | { 35 |
36 |
@data[i].FlowerName
37 | @data[i].FlowerName 38 |
39 |
40 | @if (i == 0) 41 | { 42 | 43 | } 44 | else 45 | { 46 | 47 | } 48 |
49 | } 50 | } 51 |
52 |
53 |
54 |
55 |
-------------------------------------------------------------------------------- /EventApplicationCore/Views/BookFlower/Success.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_LayoutCustomer.cshtml"; 3 | } 4 | 5 | @if (ViewData["BookingFlowerMessage"] != null) 6 | { 7 |

@ViewData["BookingFlowerMessage"]

8 |

Process Completed Download Receipt

9 |

10 | @Html.ActionLink("Show Receipt", "AllBookings", "ShowAllBooking") 11 |

12 | } -------------------------------------------------------------------------------- /EventApplicationCore/Views/BookFood/Success.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_LayoutCustomer.cshtml"; 3 | } 4 | 5 | @if (ViewData["BookingFoodMessage"] != null) 6 | { 7 |

@ViewData["BookingFoodMessage"]

8 |

Next Process Book Lighting

9 |

10 | @Html.ActionLink("Click Here to Book Lighting", "BookLight", "BookLight") 11 |

12 | } -------------------------------------------------------------------------------- /EventApplicationCore/Views/BookLight/Success.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_LayoutCustomer.cshtml"; 3 | } 4 | 5 | @if (ViewData["BookingLightingMessage"] != null) 6 | { 7 |

@ViewData["BookingLightingMessage"]

8 |

Next Process BookFlowers

9 |

10 | @Html.ActionLink("Click Here to Book Flower", "BookFlower", "BookFlower") 11 |

12 | } 13 | 14 | -------------------------------------------------------------------------------- /EventApplicationCore/Views/Booking/Success.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_LayoutCustomer.cshtml"; 3 | } 4 | 5 | @if (ViewData["BookingMessage"] != null) 6 | { 7 |

@ViewData["BookingMessage"]

8 |

Next Process BookEquipment

9 |

10 | @Html.ActionLink("Click Here to Book Equipment", "Equipment", "BookEquipment") 11 |

12 | } -------------------------------------------------------------------------------- /EventApplicationCore/Views/Customer/ChangePassword.cshtml: -------------------------------------------------------------------------------- 1 | @model EventApplicationCore.Model.ChangePasswordModel 2 | @{ 3 | Layout = "~/Views/Shared/_LayoutCustomer.cshtml"; 4 | } 5 | 6 |
7 |
8 |
9 |
Change Password
10 |
11 | @Html.AntiForgeryToken() 12 | @if (TempData["MessageUpdate"] != null) 13 | { 14 |

@TempData["MessageUpdate"]

15 | } 16 | @Html.ValidationSummary(true) 17 |
18 |
19 |
20 | 21 | 22 | 23 |
24 |
25 | 26 | 27 | 28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 | 36 |
37 |
38 |
39 |
40 |
41 |
-------------------------------------------------------------------------------- /EventApplicationCore/Views/Customer/Dashboard.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_LayoutCustomer.cshtml"; 3 | } -------------------------------------------------------------------------------- /EventApplicationCore/Views/Error/Error.cshtml: -------------------------------------------------------------------------------- 1 |  10 |
11 |
12 |
13 |
14 |

Something Went WrongError

15 |
16 |

The page you requested could not be found, either contact your webmaster or try again. Use your browsers Back button to navigate to the page you have prevously come from

17 |

Or you could just press this neat little button:

18 | Take Me Home 19 |
20 |
21 |
22 |

Recent Content :

23 |
24 |
25 | 26 | @if (ViewData["ErrorMessage"] != null) 27 | { 28 |

@ViewData["ErrorMessage"]

29 | } 30 |
31 |

32 | 33 |
34 |
35 |
36 | -------------------------------------------------------------------------------- /EventApplicationCore/Views/Home/About.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewData["Title"] = "About"; 3 | } 4 |

@ViewData["Title"].

5 |

@ViewData["Message"]

6 | 7 |

Use this area to provide additional information.

8 | -------------------------------------------------------------------------------- /EventApplicationCore/Views/Home/Contact.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewData["Title"] = "Contact"; 3 | } 4 |

@ViewData["Title"].

5 |

@ViewData["Message"]

6 | 7 |
8 | One Microsoft Way
9 | Redmond, WA 98052-6399
10 | P: 11 | 425.555.0100 12 |
13 | 14 |
15 | Support: Support@example.com
16 | Marketing: Marketing@example.com 17 |
18 | -------------------------------------------------------------------------------- /EventApplicationCore/Views/Login/Login.cshtml: -------------------------------------------------------------------------------- 1 | @model EventApplicationCore.Model.LoginViewModel 2 | 3 |
4 |
5 |
Login
6 |
7 | 8 | @if (ViewBag.errormessage != null) 9 | { 10 |

@ViewBag.errormessage

11 | } 12 | 13 |
14 | @Html.AntiForgeryToken() 15 |
16 | 17 |
18 | 19 | 20 | 21 |
22 |
23 | 24 | 25 | 26 |
27 | 28 |
29 | 30 |
31 |
32 | No account ? @Html.ActionLink("Create one !", "Registration", "Registration") 33 |
34 |
35 |
36 | 37 |
38 |
39 | 40 |
-------------------------------------------------------------------------------- /EventApplicationCore/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- 1 |  12 |
13 |
14 |
15 |
16 |

Page Not Found Error 404

17 |
18 |

The page you requested could not be found, either contact your webmaster or try again. Use your browsers Back button to navigate to the page you have prevously come from

19 |

Or you could just press this neat little button:

20 | Take Me Home 21 |
22 |
23 |
24 |

Recent Content :

25 |
26 |
27 | @if (ViewData["ErrorMessage"] != null) 28 | { 29 |

@ViewData["ErrorMessage"]

30 | } 31 | 32 |
33 |

34 | 35 |
36 |
37 |
38 | -------------------------------------------------------------------------------- /EventApplicationCore/Views/Shared/_ValidationScriptsPartial.cshtml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 12 | 18 | 19 | -------------------------------------------------------------------------------- /EventApplicationCore/Views/SuperAdmin/Dashboard.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_SuperAdminLayout.cshtml"; 3 | } -------------------------------------------------------------------------------- /EventApplicationCore/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using EventApplicationCore 2 | @addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers" 3 | -------------------------------------------------------------------------------- /EventApplicationCore/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /EventApplicationCore/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "IncludeScopes": false, 4 | "LogLevel": { 5 | "Default": "Debug", 6 | "System": "Information", 7 | "Microsoft": "Information" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /EventApplicationCore/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "IncludeScopes": false, 4 | "LogLevel": { 5 | "Default": "Warning" 6 | } 7 | }, 8 | "ConnectionStrings": { 9 | "DatabaseConnection": "Data Source=SAI-PC; UID=sa; Password=Pass@123;Database=EventDB;" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /EventApplicationCore/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "asp.net", 3 | "private": true, 4 | "dependencies": { 5 | "bootstrap": "3.3.7", 6 | "jquery": "2.2.0", 7 | "jquery-validation": "1.14.0", 8 | "jquery-validation-unobtrusive": "3.2.6" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /EventApplicationCore/bundleconfig.json: -------------------------------------------------------------------------------- 1 | // Configure bundling and minification for the project. 2 | // More info at https://go.microsoft.com/fwlink/?LinkId=808241 3 | [ 4 | { 5 | "outputFileName": "wwwroot/css/site.min.css", 6 | // An array of relative input file paths. Globbing patterns supported 7 | "inputFiles": [ 8 | "wwwroot/css/site.css" 9 | ] 10 | }, 11 | { 12 | "outputFileName": "wwwroot/js/site.min.js", 13 | "inputFiles": [ 14 | "wwwroot/js/site.js" 15 | ], 16 | // Optionally specify minification options 17 | "minify": { 18 | "enabled": true, 19 | "renameLocals": true 20 | }, 21 | // Optionally generate .map file 22 | "sourceMap": false 23 | } 24 | ] 25 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/EquipmentImages/6671822f-4a69-4aa5-a75f-a279328cf334.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/EquipmentImages/6671822f-4a69-4aa5-a75f-a279328cf334.png -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/EquipmentImages/c1bf21d9-361e-400b-b706-eb2067bd6576.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/EquipmentImages/c1bf21d9-361e-400b-b706-eb2067bd6576.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/EquipmentImages/f3caaf4b-c008-4a22-8fea-c5f8b30c0dd6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/EquipmentImages/f3caaf4b-c008-4a22-8fea-c5f8b30c0dd6.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/FlowerImages/3af3b4de-4b03-4c2b-908e-654da6b40942.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/FlowerImages/3af3b4de-4b03-4c2b-908e-654da6b40942.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/FlowerImages/70f41879-909d-45a8-a6d9-dba7bb33f0d6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/FlowerImages/70f41879-909d-45a8-a6d9-dba7bb33f0d6.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/FlowerImages/cbd90318-99e7-45c2-bddb-3a3e2089208f.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/FlowerImages/cbd90318-99e7-45c2-bddb-3a3e2089208f.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/FoodImages/411ea912-758d-4f02-b9e0-ea9ca9e95816.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/FoodImages/411ea912-758d-4f02-b9e0-ea9ca9e95816.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/FoodImages/6406e92b-9002-4c58-98ed-1be4e6c6d8fd.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/FoodImages/6406e92b-9002-4c58-98ed-1be4e6c6d8fd.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/FoodImages/c9d6c5c8-b51e-4137-9222-0cea6534354a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/FoodImages/c9d6c5c8-b51e-4137-9222-0cea6534354a.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/FoodImages/e0f91736-4988-4569-b6b5-749c19b9fd14.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/FoodImages/e0f91736-4988-4569-b6b5-749c19b9fd14.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/FoodImages/f482caad-1826-444c-8d72-a2bacd6f496b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/FoodImages/f482caad-1826-444c-8d72-a2bacd6f496b.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/LightImages/0dfa03d5-2f9d-44f0-87ad-f07e0f0b7224.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/LightImages/0dfa03d5-2f9d-44f0-87ad-f07e0f0b7224.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/LightImages/447f0ee9-57b9-46f7-8b04-05c9fde853c8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/LightImages/447f0ee9-57b9-46f7-8b04-05c9fde853c8.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/LightImages/84a52172-2dae-43d3-ba8b-e6126ef7d248.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/LightImages/84a52172-2dae-43d3-ba8b-e6126ef7d248.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/VenueImages/03ab9cbf-2da4-4a18-be0e-8a1a3a7c8331.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/VenueImages/03ab9cbf-2da4-4a18-be0e-8a1a3a7c8331.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/VenueImages/08e32216-b2ab-477b-9a42-25e3d276b33a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/VenueImages/08e32216-b2ab-477b-9a42-25e3d276b33a.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/VenueImages/1a1932c6-6a5a-4505-b501-b56ac8fa8e27.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/VenueImages/1a1932c6-6a5a-4505-b501-b56ac8fa8e27.png -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/VenueImages/3b2b3b1c-643b-42b6-b815-1bebbd27d3f6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/VenueImages/3b2b3b1c-643b-42b6-b815-1bebbd27d3f6.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/VenueImages/3be651ec-d3ae-4272-b79b-653e5f9f576a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/VenueImages/3be651ec-d3ae-4272-b79b-653e5f9f576a.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/VenueImages/4cc281ec-7ed9-4232-b983-4c29ac1d707a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/VenueImages/4cc281ec-7ed9-4232-b983-4c29ac1d707a.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/VenueImages/5c476a60-febd-4cce-882c-32e04a0fc942.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/VenueImages/5c476a60-febd-4cce-882c-32e04a0fc942.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/VenueImages/5d7d17c5-c393-4af8-acd5-52f0724bd6cc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/VenueImages/5d7d17c5-c393-4af8-acd5-52f0724bd6cc.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/VenueImages/938385f1-a531-4be3-9521-3e495f180588.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/VenueImages/938385f1-a531-4be3-9521-3e495f180588.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/VenueImages/9c66df83-9f01-4735-ab52-6dc1173ebb86.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/VenueImages/9c66df83-9f01-4735-ab52-6dc1173ebb86.png -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/VenueImages/a56c962c-ee52-4623-976b-65ebf461728d.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/VenueImages/a56c962c-ee52-4623-976b-65ebf461728d.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/VenueImages/aac3e757-74e6-41e0-83e9-acf620a5dca1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/VenueImages/aac3e757-74e6-41e0-83e9-acf620a5dca1.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/VenueImages/c8e2bfdd-83e4-403d-924f-a11b6f5150c9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/VenueImages/c8e2bfdd-83e4-403d-924f-a11b6f5150c9.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/VenueImages/d0894394-1dce-4b3b-87a6-1f97a05417a2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/VenueImages/d0894394-1dce-4b3b-87a6-1f97a05417a2.jpg -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/VenueImages/ef32859d-4414-46e6-98b6-7ccd876650e2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/VenueImages/ef32859d-4414-46e6-98b6-7ccd876650e2.png -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/css/angularPrint.css: -------------------------------------------------------------------------------- 1 | @media screen{ 2 | .printOnly{ 3 | display:none; 4 | } 5 | } 6 | @media print { 7 | body *{ 8 | visibility:hidden; 9 | } 10 | body { 11 | margin:0mm !important; 12 | -webkit-print-color-adjust:exact; 13 | } 14 | .printOnly, .printOnly *{ 15 | visibility:visible; 16 | display:initial; 17 | } 18 | .printOnly.printRemove{ 19 | display:none; 20 | } 21 | .printSection, .printSection * { 22 | visibility:visible; 23 | } 24 | .printRemove, .printRemove *{ 25 | display:none; 26 | } 27 | .printHide, .printHide *{ 28 | visibility:hidden; 29 | } 30 | .printHide .printSection *{ 31 | visibility:visible; 32 | } 33 | .printRemove .printSection *{ 34 | visibility:visible; 35 | } 36 | .avoidPageBreak{ 37 | page-break-inside:avoid; 38 | } 39 | td div{ 40 | page-break-inside:avoid; 41 | } 42 | thead { 43 | display: table-header-group; 44 | } 45 | .noPrintMargin{ 46 | margin:0px !important; 47 | padding:0px !important; 48 | } 49 | @page { margin:0cm } 50 | @page :first { 51 | margin-top:0cm; 52 | } 53 | @page :left { 54 | margin-left:0cm; 55 | margin-right:0cm; 56 | } 57 | @page :right { 58 | margin-left:0cm; 59 | margin-right:0cm; 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/css/main.css: -------------------------------------------------------------------------------- 1 | @charset "urf-8"; 2 | 3 | #wrap { 4 | margin-top: 100px; 5 | width: 100%; 6 | min-width: 400px; 7 | height: 500px; 8 | max-height: 300px; 9 | } -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/css/my-slider-1.0.0.css: -------------------------------------------------------------------------------- 1 | @charset "urf-8"; 2 | 3 | #slider-holder { 4 | position: relative; 5 | margin: 0 auto; 6 | width: 100%; 7 | max-width: 400px; 8 | height: 100%; 9 | max-height: 300px; 10 | overflow: hidden; 11 | } 12 | 13 | #slider-holder .slide { 14 | display: none; 15 | position: absolute; 16 | float: left; 17 | width: 100%; 18 | height: auto; 19 | max-height: 500px; 20 | font-size: 0px; 21 | } 22 | 23 | .slide .slide-img { 24 | position: relative; 25 | margin: 0; 26 | width: 100%; 27 | min-width: 320px; 28 | max-width: 800px; 29 | height: auto; 30 | max-height: 500px; 31 | } 32 | 33 | #slider-holder #btn-nav-holder { 34 | z-index: 20; 35 | position: absolute; 36 | bottom: 20px; 37 | left: 20px; 38 | } 39 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/css/site.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 50px; 3 | padding-bottom: 20px; 4 | } 5 | 6 | /* Wrapping element */ 7 | /* Set some basic padding to keep content from hitting the edges */ 8 | .body-content { 9 | padding-left: 15px; 10 | padding-right: 15px; 11 | } 12 | 13 | /* Set widths on the form inputs since otherwise they're 100% wide */ 14 | input, 15 | select, 16 | textarea { 17 | max-width: 280px; 18 | } 19 | 20 | /* Carousel */ 21 | .carousel-caption p { 22 | font-size: 20px; 23 | line-height: 1.4; 24 | } 25 | 26 | /* Make .svg files in the carousel display properly in older browsers */ 27 | .carousel-inner .item img[src$=".svg"] { 28 | width: 100%; 29 | } 30 | 31 | /* Hide/rearrange for smaller screens */ 32 | @media screen and (max-width: 767px) { 33 | /* Hide captions */ 34 | .carousel-caption { 35 | display: none; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/css/site.min.css: -------------------------------------------------------------------------------- 1 | body{padding-top:50px;padding-bottom:20px}.body-content{padding-left:15px;padding-right:15px}input,select,textarea{max-width:280px}.carousel-caption p{font-size:20px;line-height:1.4}.carousel-inner .item img[src$=".svg"]{width:100%}@media screen and (max-width:767px){.carousel-caption{display:none}} -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/favicon.ico -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/images/bn-slide-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/images/bn-slide-off.png -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/images/bn-slide-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/images/bn-slide-on.png -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/js/my-slider-1.0.0.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 버전 : 1.0.0 3 | * 만든 이 : 석상범 4 | * 만든 일자 : 2014. 7. 29 5 | * 설명 : jQuery를 이용한 이미지 슬라이더(jQuery Image Slider) 슬라이딩 방향으로 상하좌우 방향으로 슬라이딩을 할 수 있도록 구현됨. 6 | * params : g(Slide Holder), w(Slide), m(Slide Button Holder), n(Sliding Speed), p(horizontal or vertical), q(Timer Duration), f(left or right or up or down) 7 | */ 8 | (function(g,w,m,n,p,q,f){$("#"+g);var c=$("#"+g+">."+w),r=$("#"+g+">#"+m),d=$("#"+g+">#"+m+">img");c.eq(0).width();c.eq(0).height();var k=[],s=[],h=c.length,l=null,e=0,t=function(a,b,c,d,e){this.n=a;this.w=b;this.h=c;this.to=this.from=0;this.distance="horizontal"==p?b:c;this.direction="";this.isMoving=!1};t.prototype.move=function(a,b){var d=0==b?"0":"10";"horizontal"==p?(this.from="left"==a?b*this.w:-1*b*this.w,this.to="left"==a?this.from-this.distance:this.from+this.distance,c.eq(this.n).css({display:"block", 9 | left:this.from+"px",zIndex:d}).animate({left:this.to+"px"},n,function(){0==b&&$(this).css({display:"none",left:"0",top:"0px"})})):(this.from="up"==a?b*this.h:-1*b*this.h,this.to="up"==a?this.from-this.distance:this.from+this.distance,c.eq(this.n).css({display:"block",top:this.from+"px",zIndex:d}).animate({top:this.to+"px"},n,function(){0==b&&$(this).css({display:"none",top:"0",top:"0px"})}))};var u=function(a,b){this.n=a;this.imgSrc=b};u.prototype.change=function(){for(var a,b,c=0;ca&&(a=h-1);return a},x=function(){for(var a=0;a 3.1.2' 5 | gem 'jekyll-sitemap', '~> 0.11.0' 6 | end 7 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | addressable (2.4.0) 5 | colorator (0.1) 6 | ffi (1.9.14-x64-mingw32) 7 | jekyll (3.1.6) 8 | colorator (~> 0.1) 9 | jekyll-sass-converter (~> 1.0) 10 | jekyll-watch (~> 1.1) 11 | kramdown (~> 1.3) 12 | liquid (~> 3.0) 13 | mercenary (~> 0.3.3) 14 | rouge (~> 1.7) 15 | safe_yaml (~> 1.0) 16 | jekyll-sass-converter (1.4.0) 17 | sass (~> 3.4) 18 | jekyll-sitemap (0.11.0) 19 | addressable (~> 2.4.0) 20 | jekyll-watch (1.4.0) 21 | listen (~> 3.0, < 3.1) 22 | kramdown (1.11.1) 23 | liquid (3.0.6) 24 | listen (3.0.8) 25 | rb-fsevent (~> 0.9, >= 0.9.4) 26 | rb-inotify (~> 0.9, >= 0.9.7) 27 | mercenary (0.3.6) 28 | rb-fsevent (0.9.7) 29 | rb-inotify (0.9.7) 30 | ffi (>= 0.5.0) 31 | rouge (1.11.1) 32 | safe_yaml (1.0.4) 33 | sass (3.4.22) 34 | 35 | PLATFORMS 36 | x64-mingw32 37 | 38 | DEPENDENCIES 39 | jekyll (~> 3.1.2) 40 | jekyll-sitemap (~> 0.11.0) 41 | 42 | BUNDLED WITH 43 | 1.12.5 44 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | Before opening an issue: 2 | 3 | - [Search for duplicate or closed issues](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue) 4 | - [Validate](http://validator.w3.org/nu/) and [lint](https://github.com/twbs/bootlint#in-the-browser) any HTML to avoid common problems 5 | - Prepare a [reduced test case](https://css-tricks.com/reduced-test-cases/) for any bugs 6 | - Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md) 7 | 8 | When asking general "how to" questions: 9 | 10 | - Please do not open an issue here 11 | - Instead, ask for help on [StackOverflow, IRC, or Slack](https://github.com/twbs/bootstrap/blob/master/README.md#community) 12 | 13 | When reporting a bug, include: 14 | 15 | - Operating system and version (Windows, Mac OS X, Android, iOS, Win10 Mobile) 16 | - Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser) 17 | - Reduced test cases and potential fixes using [JS Bin](https://jsbin.com) 18 | 19 | When suggesting a feature, include: 20 | 21 | - As much detail as possible for what we should add and why it's important to Bootstrap 22 | - Relevant links to prior art, screenshots, or live demos whenever possible 23 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2011-2016 Twitter, Inc. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bootstrap", 3 | "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.", 4 | "keywords": [ 5 | "css", 6 | "js", 7 | "less", 8 | "mobile-first", 9 | "responsive", 10 | "front-end", 11 | "framework", 12 | "web" 13 | ], 14 | "homepage": "http://getbootstrap.com", 15 | "license": "MIT", 16 | "moduleType": "globals", 17 | "main": [ 18 | "less/bootstrap.less", 19 | "dist/js/bootstrap.js" 20 | ], 21 | "ignore": [ 22 | "/.*", 23 | "_config.yml", 24 | "CNAME", 25 | "composer.json", 26 | "CONTRIBUTING.md", 27 | "docs", 28 | "js/tests", 29 | "test-infra" 30 | ], 31 | "dependencies": { 32 | "jquery": "1.9.1 - 3" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/dist/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/lib/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/lib/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/lib/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/lib/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/grunt/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends" : "../js/.jshintrc", 3 | "asi" : false, 4 | "browser" : false, 5 | "es3" : false, 6 | "node" : true 7 | } 8 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/grunt/bs-commonjs-generator.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Grunt task for the CommonJS module generation 3 | * http://getbootstrap.com 4 | * Copyright 2014-2015 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var fs = require('fs'); 11 | var path = require('path'); 12 | 13 | var COMMONJS_BANNER = '// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.\n'; 14 | 15 | module.exports = function generateCommonJSModule(grunt, srcFiles, destFilepath) { 16 | var destDir = path.dirname(destFilepath); 17 | 18 | function srcPathToDestRequire(srcFilepath) { 19 | var requirePath = path.relative(destDir, srcFilepath).replace(/\\/g, '/'); 20 | return 'require(\'' + requirePath + '\')'; 21 | } 22 | 23 | var moduleOutputJs = COMMONJS_BANNER + srcFiles.map(srcPathToDestRequire).join('\n'); 24 | try { 25 | fs.writeFileSync(destFilepath, moduleOutputJs); 26 | } catch (err) { 27 | grunt.fail.warn(err); 28 | } 29 | grunt.log.writeln('File ' + destFilepath.cyan + ' created.'); 30 | }; 31 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/grunt/bs-glyphicons-data-generator.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Grunt task for Glyphicons data generation 3 | * http://getbootstrap.com 4 | * Copyright 2014-2015 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var fs = require('fs'); 11 | 12 | module.exports = function generateGlyphiconsData(grunt) { 13 | // Pass encoding, utf8, so `readFileSync` will return a string instead of a 14 | // buffer 15 | var glyphiconsFile = fs.readFileSync('less/glyphicons.less', 'utf8'); 16 | var glyphiconsLines = glyphiconsFile.split('\n'); 17 | 18 | // Use any line that starts with ".glyphicon-" and capture the class name 19 | var iconClassName = /^\.(glyphicon-[a-zA-Z0-9-]+)/; 20 | var glyphiconsData = '# This file is generated via Grunt task. **Do not edit directly.**\n' + 21 | '# See the \'build-glyphicons-data\' task in Gruntfile.js.\n\n'; 22 | var glyphiconsYml = 'docs/_data/glyphicons.yml'; 23 | for (var i = 0, len = glyphiconsLines.length; i < len; i++) { 24 | var match = glyphiconsLines[i].match(iconClassName); 25 | 26 | if (match !== null) { 27 | glyphiconsData += '- ' + match[1] + '\n'; 28 | } 29 | } 30 | 31 | // Create the `_data` directory if it doesn't already exist 32 | if (!fs.existsSync('docs/_data')) { 33 | fs.mkdirSync('docs/_data'); 34 | } 35 | 36 | try { 37 | fs.writeFileSync(glyphiconsYml, glyphiconsData); 38 | } catch (err) { 39 | grunt.fail.warn(err); 40 | } 41 | grunt.log.writeln('File ' + glyphiconsYml.cyan + ' created.'); 42 | }; 43 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/grunt/bs-raw-files-generator.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Grunt task for generating raw-files.min.js for the Customizer 3 | * http://getbootstrap.com 4 | * Copyright 2014-2015 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var fs = require('fs'); 11 | var btoa = require('btoa'); 12 | var glob = require('glob'); 13 | 14 | function getFiles(type) { 15 | var files = {}; 16 | var recursive = type === 'less'; 17 | var globExpr = recursive ? '/**/*' : '/*'; 18 | glob.sync(type + globExpr) 19 | .filter(function (path) { 20 | return type === 'fonts' ? true : new RegExp('\\.' + type + '$').test(path); 21 | }) 22 | .forEach(function (fullPath) { 23 | var relativePath = fullPath.replace(/^[^/]+\//, ''); 24 | files[relativePath] = type === 'fonts' ? btoa(fs.readFileSync(fullPath)) : fs.readFileSync(fullPath, 'utf8'); 25 | }); 26 | return 'var __' + type + ' = ' + JSON.stringify(files) + '\n'; 27 | } 28 | 29 | module.exports = function generateRawFilesJs(grunt, banner) { 30 | if (!banner) { 31 | banner = ''; 32 | } 33 | var dirs = ['js', 'less', 'fonts']; 34 | var files = banner + dirs.map(getFiles).reduce(function (combined, file) { 35 | return combined + file; 36 | }, ''); 37 | var rawFilesJs = 'docs/assets/js/raw-files.min.js'; 38 | try { 39 | fs.writeFileSync(rawFilesJs, files); 40 | } catch (err) { 41 | grunt.fail.warn(err); 42 | } 43 | grunt.log.writeln('File ' + rawFilesJs.cyan + ' created.'); 44 | }; 45 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/grunt/configBridge.json: -------------------------------------------------------------------------------- 1 | { 2 | "paths": { 3 | "customizerJs": [ 4 | "../assets/js/vendor/autoprefixer.js", 5 | "../assets/js/vendor/less.min.js", 6 | "../assets/js/vendor/jszip.min.js", 7 | "../assets/js/vendor/uglify.min.js", 8 | "../assets/js/vendor/Blob.js", 9 | "../assets/js/vendor/FileSaver.js", 10 | "../assets/js/raw-files.min.js", 11 | "../assets/js/src/customizer.js" 12 | ], 13 | "docsJs": [ 14 | "../assets/js/vendor/holder.min.js", 15 | "../assets/js/vendor/ZeroClipboard.min.js", 16 | "../assets/js/vendor/anchor.min.js", 17 | "../assets/js/src/application.js" 18 | ] 19 | }, 20 | "config": { 21 | "autoprefixerBrowsers": [ 22 | "Android 2.3", 23 | "Android >= 4", 24 | "Chrome >= 20", 25 | "Firefox >= 24", 26 | "Explorer >= 8", 27 | "iOS >= 6", 28 | "Opera >= 12", 29 | "Safari >= 6" 30 | ], 31 | "jqueryCheck": [ 32 | "if (typeof jQuery === 'undefined') {", 33 | " throw new Error('Bootstrap\\'s JavaScript requires jQuery')", 34 | "}\n" 35 | ], 36 | "jqueryVersionCheck": [ 37 | "+function ($) {", 38 | " 'use strict';", 39 | " var version = $.fn.jquery.split(' ')[0].split('.')", 40 | " if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 3)) {", 41 | " throw new Error('Bootstrap\\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4')", 42 | " }", 43 | "}(jQuery);\n\n" 44 | ] 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/grunt/sauce_browsers.yml: -------------------------------------------------------------------------------- 1 | [ 2 | # Docs: https://saucelabs.com/docs/platforms/webdriver 3 | 4 | { 5 | browserName: "safari", 6 | platform: "OS X 10.10" 7 | }, 8 | { 9 | browserName: "chrome", 10 | platform: "OS X 10.10" 11 | }, 12 | { 13 | browserName: "firefox", 14 | platform: "OS X 10.10" 15 | }, 16 | 17 | # Mac Opera not currently supported by Sauce Labs 18 | 19 | { 20 | browserName: "internet explorer", 21 | version: "11", 22 | platform: "Windows 8.1" 23 | }, 24 | { 25 | browserName: "internet explorer", 26 | version: "10", 27 | platform: "Windows 8" 28 | }, 29 | { 30 | browserName: "internet explorer", 31 | version: "9", 32 | platform: "Windows 7" 33 | }, 34 | { 35 | browserName: "internet explorer", 36 | version: "8", 37 | platform: "Windows 7" 38 | }, 39 | 40 | # { # Unofficial 41 | # browserName: "internet explorer", 42 | # version: "7", 43 | # platform: "Windows XP" 44 | # }, 45 | 46 | { 47 | browserName: "chrome", 48 | platform: "Windows 8.1" 49 | }, 50 | { 51 | browserName: "firefox", 52 | platform: "Windows 8.1" 53 | }, 54 | 55 | # Win Opera 15+ not currently supported by Sauce Labs 56 | 57 | { 58 | browserName: "iphone", 59 | platform: "OS X 10.10", 60 | version: "9.2" 61 | }, 62 | 63 | # iOS Chrome not currently supported by Sauce Labs 64 | 65 | # Linux (unofficial) 66 | { 67 | browserName: "chrome", 68 | platform: "Linux" 69 | }, 70 | { 71 | browserName: "firefox", 72 | platform: "Linux" 73 | } 74 | 75 | # Android Chrome not currently supported by Sauce Labs 76 | 77 | # { # Android Browser (super-unofficial) 78 | # browserName: "android", 79 | # version: "4.0", 80 | # platform: "Linux" 81 | # } 82 | ] 83 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/js/.jscsrc: -------------------------------------------------------------------------------- 1 | { 2 | "disallowEmptyBlocks": true, 3 | "disallowKeywords": ["with"], 4 | "disallowMixedSpacesAndTabs": true, 5 | "disallowMultipleLineStrings": true, 6 | "disallowMultipleVarDecl": true, 7 | "disallowQuotedKeysInObjects": "allButReserved", 8 | "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], 9 | "disallowSpaceBeforeBinaryOperators": [","], 10 | "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], 11 | "disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true }, 12 | "disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true }, 13 | "disallowSpacesInsideArrayBrackets": true, 14 | "disallowSpacesInsideParentheses": true, 15 | "disallowTrailingComma": true, 16 | "disallowTrailingWhitespace": true, 17 | "requireCamelCaseOrUpperCaseIdentifiers": true, 18 | "requireCapitalizedConstructors": true, 19 | "requireCommaBeforeLineBreak": true, 20 | "requireDollarBeforejQueryAssignment": true, 21 | "requireDotNotation": true, 22 | "requireLineFeedAtFileEnd": true, 23 | "requirePaddingNewLinesAfterUseStrict": true, 24 | "requirePaddingNewLinesBeforeExport": true, 25 | "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], 26 | "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"], 27 | "requireSpaceAfterLineComment": true, 28 | "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], 29 | "requireSpaceBetweenArguments": true, 30 | "requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true }, 31 | "requireSpacesInConditionalExpression": true, 32 | "requireSpacesInForStatement": true, 33 | "requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true }, 34 | "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, 35 | "requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true }, 36 | "requireSpacesInsideObjectBrackets": "allButNested", 37 | "validateAlignedFunctionParameters": true, 38 | "validateIndentation": 2, 39 | "validateLineBreaks": "LF", 40 | "validateNewlineAfterArrayElements": true, 41 | "validateQuoteMarks": "'" 42 | } 43 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/js/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "asi" : true, 3 | "browser" : true, 4 | "eqeqeq" : false, 5 | "eqnull" : true, 6 | "es3" : true, 7 | "expr" : true, 8 | "jquery" : true, 9 | "latedef" : true, 10 | "laxbreak" : true, 11 | "nonbsp" : true, 12 | "strict" : true, 13 | "undef" : true, 14 | "unused" : true 15 | } 16 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/js/transition.js: -------------------------------------------------------------------------------- 1 | /* ======================================================================== 2 | * Bootstrap: transition.js v3.3.7 3 | * http://getbootstrap.com/javascript/#transitions 4 | * ======================================================================== 5 | * Copyright 2011-2016 Twitter, Inc. 6 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 7 | * ======================================================================== */ 8 | 9 | 10 | +function ($) { 11 | 'use strict'; 12 | 13 | // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/) 14 | // ============================================================ 15 | 16 | function transitionEnd() { 17 | var el = document.createElement('bootstrap') 18 | 19 | var transEndEventNames = { 20 | WebkitTransition : 'webkitTransitionEnd', 21 | MozTransition : 'transitionend', 22 | OTransition : 'oTransitionEnd otransitionend', 23 | transition : 'transitionend' 24 | } 25 | 26 | for (var name in transEndEventNames) { 27 | if (el.style[name] !== undefined) { 28 | return { end: transEndEventNames[name] } 29 | } 30 | } 31 | 32 | return false // explicit for ie8 ( ._.) 33 | } 34 | 35 | // http://blog.alexmaccaw.com/css-transitions 36 | $.fn.emulateTransitionEnd = function (duration) { 37 | var called = false 38 | var $el = this 39 | $(this).one('bsTransitionEnd', function () { called = true }) 40 | var callback = function () { if (!called) $($el).trigger($.support.transition.end) } 41 | setTimeout(callback, duration) 42 | return this 43 | } 44 | 45 | $(function () { 46 | $.support.transition = transitionEnd() 47 | 48 | if (!$.support.transition) return 49 | 50 | $.event.special.bsTransitionEnd = { 51 | bindType: $.support.transition.end, 52 | delegateType: $.support.transition.end, 53 | handle: function (e) { 54 | if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments) 55 | } 56 | } 57 | }) 58 | 59 | }(jQuery); 60 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/.csslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "adjoining-classes": false, 3 | "box-sizing": false, 4 | "box-model": false, 5 | "compatible-vendor-prefixes": false, 6 | "floats": false, 7 | "font-sizes": false, 8 | "gradients": false, 9 | "important": false, 10 | "known-properties": false, 11 | "outline-none": false, 12 | "qualified-headings": false, 13 | "regex-selectors": false, 14 | "shorthand": false, 15 | "text-indent": false, 16 | "unique-headings": false, 17 | "universal-selector": false, 18 | "unqualified-attributes": false 19 | } 20 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/alerts.less: -------------------------------------------------------------------------------- 1 | // 2 | // Alerts 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base styles 7 | // ------------------------- 8 | 9 | .alert { 10 | padding: @alert-padding; 11 | margin-bottom: @line-height-computed; 12 | border: 1px solid transparent; 13 | border-radius: @alert-border-radius; 14 | 15 | // Headings for larger alerts 16 | h4 { 17 | margin-top: 0; 18 | // Specified for the h4 to prevent conflicts of changing @headings-color 19 | color: inherit; 20 | } 21 | 22 | // Provide class for links that match alerts 23 | .alert-link { 24 | font-weight: @alert-link-font-weight; 25 | } 26 | 27 | // Improve alignment and spacing of inner content 28 | > p, 29 | > ul { 30 | margin-bottom: 0; 31 | } 32 | 33 | > p + p { 34 | margin-top: 5px; 35 | } 36 | } 37 | 38 | // Dismissible alerts 39 | // 40 | // Expand the right padding and account for the close button's positioning. 41 | 42 | .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0. 43 | .alert-dismissible { 44 | padding-right: (@alert-padding + 20); 45 | 46 | // Adjust close link position 47 | .close { 48 | position: relative; 49 | top: -2px; 50 | right: -21px; 51 | color: inherit; 52 | } 53 | } 54 | 55 | // Alternate styles 56 | // 57 | // Generate contextual modifier classes for colorizing the alert. 58 | 59 | .alert-success { 60 | .alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text); 61 | } 62 | 63 | .alert-info { 64 | .alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text); 65 | } 66 | 67 | .alert-warning { 68 | .alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text); 69 | } 70 | 71 | .alert-danger { 72 | .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text); 73 | } 74 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/badges.less: -------------------------------------------------------------------------------- 1 | // 2 | // Badges 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | .badge { 8 | display: inline-block; 9 | min-width: 10px; 10 | padding: 3px 7px; 11 | font-size: @font-size-small; 12 | font-weight: @badge-font-weight; 13 | color: @badge-color; 14 | line-height: @badge-line-height; 15 | vertical-align: middle; 16 | white-space: nowrap; 17 | text-align: center; 18 | background-color: @badge-bg; 19 | border-radius: @badge-border-radius; 20 | 21 | // Empty badges collapse automatically (not available in IE8) 22 | &:empty { 23 | display: none; 24 | } 25 | 26 | // Quick fix for badges in buttons 27 | .btn & { 28 | position: relative; 29 | top: -1px; 30 | } 31 | 32 | .btn-xs &, 33 | .btn-group-xs > .btn & { 34 | top: 0; 35 | padding: 1px 5px; 36 | } 37 | 38 | // Hover state, but only for links 39 | a& { 40 | &:hover, 41 | &:focus { 42 | color: @badge-link-hover-color; 43 | text-decoration: none; 44 | cursor: pointer; 45 | } 46 | } 47 | 48 | // Account for badges in navs 49 | .list-group-item.active > &, 50 | .nav-pills > .active > a > & { 51 | color: @badge-active-color; 52 | background-color: @badge-active-bg; 53 | } 54 | 55 | .list-group-item > & { 56 | float: right; 57 | } 58 | 59 | .list-group-item > & + & { 60 | margin-right: 5px; 61 | } 62 | 63 | .nav-pills > li > a > & { 64 | margin-left: 3px; 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/bootstrap.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.3.7 (http://getbootstrap.com) 3 | * Copyright 2011-2016 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */ 6 | 7 | // Core variables and mixins 8 | @import "variables.less"; 9 | @import "mixins.less"; 10 | 11 | // Reset and dependencies 12 | @import "normalize.less"; 13 | @import "print.less"; 14 | @import "glyphicons.less"; 15 | 16 | // Core CSS 17 | @import "scaffolding.less"; 18 | @import "type.less"; 19 | @import "code.less"; 20 | @import "grid.less"; 21 | @import "tables.less"; 22 | @import "forms.less"; 23 | @import "buttons.less"; 24 | 25 | // Components 26 | @import "component-animations.less"; 27 | @import "dropdowns.less"; 28 | @import "button-groups.less"; 29 | @import "input-groups.less"; 30 | @import "navs.less"; 31 | @import "navbar.less"; 32 | @import "breadcrumbs.less"; 33 | @import "pagination.less"; 34 | @import "pager.less"; 35 | @import "labels.less"; 36 | @import "badges.less"; 37 | @import "jumbotron.less"; 38 | @import "thumbnails.less"; 39 | @import "alerts.less"; 40 | @import "progress-bars.less"; 41 | @import "media.less"; 42 | @import "list-group.less"; 43 | @import "panels.less"; 44 | @import "responsive-embed.less"; 45 | @import "wells.less"; 46 | @import "close.less"; 47 | 48 | // Components w/ JavaScript 49 | @import "modals.less"; 50 | @import "tooltip.less"; 51 | @import "popovers.less"; 52 | @import "carousel.less"; 53 | 54 | // Utility classes 55 | @import "utilities.less"; 56 | @import "responsive-utilities.less"; 57 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/breadcrumbs.less: -------------------------------------------------------------------------------- 1 | // 2 | // Breadcrumbs 3 | // -------------------------------------------------- 4 | 5 | 6 | .breadcrumb { 7 | padding: @breadcrumb-padding-vertical @breadcrumb-padding-horizontal; 8 | margin-bottom: @line-height-computed; 9 | list-style: none; 10 | background-color: @breadcrumb-bg; 11 | border-radius: @border-radius-base; 12 | 13 | > li { 14 | display: inline-block; 15 | 16 | + li:before { 17 | content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space 18 | padding: 0 5px; 19 | color: @breadcrumb-color; 20 | } 21 | } 22 | 23 | > .active { 24 | color: @breadcrumb-active-color; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/close.less: -------------------------------------------------------------------------------- 1 | // 2 | // Close icons 3 | // -------------------------------------------------- 4 | 5 | 6 | .close { 7 | float: right; 8 | font-size: (@font-size-base * 1.5); 9 | font-weight: @close-font-weight; 10 | line-height: 1; 11 | color: @close-color; 12 | text-shadow: @close-text-shadow; 13 | .opacity(.2); 14 | 15 | &:hover, 16 | &:focus { 17 | color: @close-color; 18 | text-decoration: none; 19 | cursor: pointer; 20 | .opacity(.5); 21 | } 22 | 23 | // Additional properties for button version 24 | // iOS requires the button element instead of an anchor tag. 25 | // If you want the anchor version, it requires `href="#"`. 26 | // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile 27 | button& { 28 | padding: 0; 29 | cursor: pointer; 30 | background: transparent; 31 | border: 0; 32 | -webkit-appearance: none; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/code.less: -------------------------------------------------------------------------------- 1 | // 2 | // Code (inline and block) 3 | // -------------------------------------------------- 4 | 5 | 6 | // Inline and block code styles 7 | code, 8 | kbd, 9 | pre, 10 | samp { 11 | font-family: @font-family-monospace; 12 | } 13 | 14 | // Inline code 15 | code { 16 | padding: 2px 4px; 17 | font-size: 90%; 18 | color: @code-color; 19 | background-color: @code-bg; 20 | border-radius: @border-radius-base; 21 | } 22 | 23 | // User input typically entered via keyboard 24 | kbd { 25 | padding: 2px 4px; 26 | font-size: 90%; 27 | color: @kbd-color; 28 | background-color: @kbd-bg; 29 | border-radius: @border-radius-small; 30 | box-shadow: inset 0 -1px 0 rgba(0,0,0,.25); 31 | 32 | kbd { 33 | padding: 0; 34 | font-size: 100%; 35 | font-weight: bold; 36 | box-shadow: none; 37 | } 38 | } 39 | 40 | // Blocks of code 41 | pre { 42 | display: block; 43 | padding: ((@line-height-computed - 1) / 2); 44 | margin: 0 0 (@line-height-computed / 2); 45 | font-size: (@font-size-base - 1); // 14px to 13px 46 | line-height: @line-height-base; 47 | word-break: break-all; 48 | word-wrap: break-word; 49 | color: @pre-color; 50 | background-color: @pre-bg; 51 | border: 1px solid @pre-border-color; 52 | border-radius: @border-radius-base; 53 | 54 | // Account for some code outputs that place code tags in pre tags 55 | code { 56 | padding: 0; 57 | font-size: inherit; 58 | color: inherit; 59 | white-space: pre-wrap; 60 | background-color: transparent; 61 | border-radius: 0; 62 | } 63 | } 64 | 65 | // Enable scrollable blocks of code 66 | .pre-scrollable { 67 | max-height: @pre-scrollable-max-height; 68 | overflow-y: scroll; 69 | } 70 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/component-animations.less: -------------------------------------------------------------------------------- 1 | // 2 | // Component animations 3 | // -------------------------------------------------- 4 | 5 | // Heads up! 6 | // 7 | // We don't use the `.opacity()` mixin here since it causes a bug with text 8 | // fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552. 9 | 10 | .fade { 11 | opacity: 0; 12 | .transition(opacity .15s linear); 13 | &.in { 14 | opacity: 1; 15 | } 16 | } 17 | 18 | .collapse { 19 | display: none; 20 | 21 | &.in { display: block; } 22 | tr&.in { display: table-row; } 23 | tbody&.in { display: table-row-group; } 24 | } 25 | 26 | .collapsing { 27 | position: relative; 28 | height: 0; 29 | overflow: hidden; 30 | .transition-property(~"height, visibility"); 31 | .transition-duration(.35s); 32 | .transition-timing-function(ease); 33 | } 34 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/grid.less: -------------------------------------------------------------------------------- 1 | // 2 | // Grid system 3 | // -------------------------------------------------- 4 | 5 | 6 | // Container widths 7 | // 8 | // Set the container width, and override it for fixed navbars in media queries. 9 | 10 | .container { 11 | .container-fixed(); 12 | 13 | @media (min-width: @screen-sm-min) { 14 | width: @container-sm; 15 | } 16 | @media (min-width: @screen-md-min) { 17 | width: @container-md; 18 | } 19 | @media (min-width: @screen-lg-min) { 20 | width: @container-lg; 21 | } 22 | } 23 | 24 | 25 | // Fluid container 26 | // 27 | // Utilizes the mixin meant for fixed width containers, but without any defined 28 | // width for fluid, full width layouts. 29 | 30 | .container-fluid { 31 | .container-fixed(); 32 | } 33 | 34 | 35 | // Row 36 | // 37 | // Rows contain and clear the floats of your columns. 38 | 39 | .row { 40 | .make-row(); 41 | } 42 | 43 | 44 | // Columns 45 | // 46 | // Common styles for small and large grid columns 47 | 48 | .make-grid-columns(); 49 | 50 | 51 | // Extra small grid 52 | // 53 | // Columns, offsets, pushes, and pulls for extra small devices like 54 | // smartphones. 55 | 56 | .make-grid(xs); 57 | 58 | 59 | // Small grid 60 | // 61 | // Columns, offsets, pushes, and pulls for the small device range, from phones 62 | // to tablets. 63 | 64 | @media (min-width: @screen-sm-min) { 65 | .make-grid(sm); 66 | } 67 | 68 | 69 | // Medium grid 70 | // 71 | // Columns, offsets, pushes, and pulls for the desktop device range. 72 | 73 | @media (min-width: @screen-md-min) { 74 | .make-grid(md); 75 | } 76 | 77 | 78 | // Large grid 79 | // 80 | // Columns, offsets, pushes, and pulls for the large desktop device range. 81 | 82 | @media (min-width: @screen-lg-min) { 83 | .make-grid(lg); 84 | } 85 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/jumbotron.less: -------------------------------------------------------------------------------- 1 | // 2 | // Jumbotron 3 | // -------------------------------------------------- 4 | 5 | 6 | .jumbotron { 7 | padding-top: @jumbotron-padding; 8 | padding-bottom: @jumbotron-padding; 9 | margin-bottom: @jumbotron-padding; 10 | color: @jumbotron-color; 11 | background-color: @jumbotron-bg; 12 | 13 | h1, 14 | .h1 { 15 | color: @jumbotron-heading-color; 16 | } 17 | 18 | p { 19 | margin-bottom: (@jumbotron-padding / 2); 20 | font-size: @jumbotron-font-size; 21 | font-weight: 200; 22 | } 23 | 24 | > hr { 25 | border-top-color: darken(@jumbotron-bg, 10%); 26 | } 27 | 28 | .container &, 29 | .container-fluid & { 30 | border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container 31 | padding-left: (@grid-gutter-width / 2); 32 | padding-right: (@grid-gutter-width / 2); 33 | } 34 | 35 | .container { 36 | max-width: 100%; 37 | } 38 | 39 | @media screen and (min-width: @screen-sm-min) { 40 | padding-top: (@jumbotron-padding * 1.6); 41 | padding-bottom: (@jumbotron-padding * 1.6); 42 | 43 | .container &, 44 | .container-fluid & { 45 | padding-left: (@jumbotron-padding * 2); 46 | padding-right: (@jumbotron-padding * 2); 47 | } 48 | 49 | h1, 50 | .h1 { 51 | font-size: @jumbotron-heading-font-size; 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/labels.less: -------------------------------------------------------------------------------- 1 | // 2 | // Labels 3 | // -------------------------------------------------- 4 | 5 | .label { 6 | display: inline; 7 | padding: .2em .6em .3em; 8 | font-size: 75%; 9 | font-weight: bold; 10 | line-height: 1; 11 | color: @label-color; 12 | text-align: center; 13 | white-space: nowrap; 14 | vertical-align: baseline; 15 | border-radius: .25em; 16 | 17 | // Add hover effects, but only for links 18 | a& { 19 | &:hover, 20 | &:focus { 21 | color: @label-link-hover-color; 22 | text-decoration: none; 23 | cursor: pointer; 24 | } 25 | } 26 | 27 | // Empty labels collapse automatically (not available in IE8) 28 | &:empty { 29 | display: none; 30 | } 31 | 32 | // Quick fix for labels in buttons 33 | .btn & { 34 | position: relative; 35 | top: -1px; 36 | } 37 | } 38 | 39 | // Colors 40 | // Contextual variations (linked labels get darker on :hover) 41 | 42 | .label-default { 43 | .label-variant(@label-default-bg); 44 | } 45 | 46 | .label-primary { 47 | .label-variant(@label-primary-bg); 48 | } 49 | 50 | .label-success { 51 | .label-variant(@label-success-bg); 52 | } 53 | 54 | .label-info { 55 | .label-variant(@label-info-bg); 56 | } 57 | 58 | .label-warning { 59 | .label-variant(@label-warning-bg); 60 | } 61 | 62 | .label-danger { 63 | .label-variant(@label-danger-bg); 64 | } 65 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/media.less: -------------------------------------------------------------------------------- 1 | .media { 2 | // Proper spacing between instances of .media 3 | margin-top: 15px; 4 | 5 | &:first-child { 6 | margin-top: 0; 7 | } 8 | } 9 | 10 | .media, 11 | .media-body { 12 | zoom: 1; 13 | overflow: hidden; 14 | } 15 | 16 | .media-body { 17 | width: 10000px; 18 | } 19 | 20 | .media-object { 21 | display: block; 22 | 23 | // Fix collapse in webkit from max-width: 100% and display: table-cell. 24 | &.img-thumbnail { 25 | max-width: none; 26 | } 27 | } 28 | 29 | .media-right, 30 | .media > .pull-right { 31 | padding-left: 10px; 32 | } 33 | 34 | .media-left, 35 | .media > .pull-left { 36 | padding-right: 10px; 37 | } 38 | 39 | .media-left, 40 | .media-right, 41 | .media-body { 42 | display: table-cell; 43 | vertical-align: top; 44 | } 45 | 46 | .media-middle { 47 | vertical-align: middle; 48 | } 49 | 50 | .media-bottom { 51 | vertical-align: bottom; 52 | } 53 | 54 | // Reset margins on headings for tighter default spacing 55 | .media-heading { 56 | margin-top: 0; 57 | margin-bottom: 5px; 58 | } 59 | 60 | // Media list variation 61 | // 62 | // Undo default ul/ol styles 63 | .media-list { 64 | padding-left: 0; 65 | list-style: none; 66 | } 67 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------------------------------- 3 | 4 | // Utilities 5 | @import "mixins/hide-text.less"; 6 | @import "mixins/opacity.less"; 7 | @import "mixins/image.less"; 8 | @import "mixins/labels.less"; 9 | @import "mixins/reset-filter.less"; 10 | @import "mixins/resize.less"; 11 | @import "mixins/responsive-visibility.less"; 12 | @import "mixins/size.less"; 13 | @import "mixins/tab-focus.less"; 14 | @import "mixins/reset-text.less"; 15 | @import "mixins/text-emphasis.less"; 16 | @import "mixins/text-overflow.less"; 17 | @import "mixins/vendor-prefixes.less"; 18 | 19 | // Components 20 | @import "mixins/alerts.less"; 21 | @import "mixins/buttons.less"; 22 | @import "mixins/panels.less"; 23 | @import "mixins/pagination.less"; 24 | @import "mixins/list-group.less"; 25 | @import "mixins/nav-divider.less"; 26 | @import "mixins/forms.less"; 27 | @import "mixins/progress-bar.less"; 28 | @import "mixins/table-row.less"; 29 | 30 | // Skins 31 | @import "mixins/background-variant.less"; 32 | @import "mixins/border-radius.less"; 33 | @import "mixins/gradients.less"; 34 | 35 | // Layout 36 | @import "mixins/clearfix.less"; 37 | @import "mixins/center-block.less"; 38 | @import "mixins/nav-vertical-align.less"; 39 | @import "mixins/grid-framework.less"; 40 | @import "mixins/grid.less"; 41 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/alerts.less: -------------------------------------------------------------------------------- 1 | // Alerts 2 | 3 | .alert-variant(@background; @border; @text-color) { 4 | background-color: @background; 5 | border-color: @border; 6 | color: @text-color; 7 | 8 | hr { 9 | border-top-color: darken(@border, 5%); 10 | } 11 | .alert-link { 12 | color: darken(@text-color, 10%); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/background-variant.less: -------------------------------------------------------------------------------- 1 | // Contextual backgrounds 2 | 3 | .bg-variant(@color) { 4 | background-color: @color; 5 | a&:hover, 6 | a&:focus { 7 | background-color: darken(@color, 10%); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/border-radius.less: -------------------------------------------------------------------------------- 1 | // Single side border-radius 2 | 3 | .border-top-radius(@radius) { 4 | border-top-right-radius: @radius; 5 | border-top-left-radius: @radius; 6 | } 7 | .border-right-radius(@radius) { 8 | border-bottom-right-radius: @radius; 9 | border-top-right-radius: @radius; 10 | } 11 | .border-bottom-radius(@radius) { 12 | border-bottom-right-radius: @radius; 13 | border-bottom-left-radius: @radius; 14 | } 15 | .border-left-radius(@radius) { 16 | border-bottom-left-radius: @radius; 17 | border-top-left-radius: @radius; 18 | } 19 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/buttons.less: -------------------------------------------------------------------------------- 1 | // Button variants 2 | // 3 | // Easily pump out default styles, as well as :hover, :focus, :active, 4 | // and disabled options for all buttons 5 | 6 | .button-variant(@color; @background; @border) { 7 | color: @color; 8 | background-color: @background; 9 | border-color: @border; 10 | 11 | &:focus, 12 | &.focus { 13 | color: @color; 14 | background-color: darken(@background, 10%); 15 | border-color: darken(@border, 25%); 16 | } 17 | &:hover { 18 | color: @color; 19 | background-color: darken(@background, 10%); 20 | border-color: darken(@border, 12%); 21 | } 22 | &:active, 23 | &.active, 24 | .open > .dropdown-toggle& { 25 | color: @color; 26 | background-color: darken(@background, 10%); 27 | border-color: darken(@border, 12%); 28 | 29 | &:hover, 30 | &:focus, 31 | &.focus { 32 | color: @color; 33 | background-color: darken(@background, 17%); 34 | border-color: darken(@border, 25%); 35 | } 36 | } 37 | &:active, 38 | &.active, 39 | .open > .dropdown-toggle& { 40 | background-image: none; 41 | } 42 | &.disabled, 43 | &[disabled], 44 | fieldset[disabled] & { 45 | &:hover, 46 | &:focus, 47 | &.focus { 48 | background-color: @background; 49 | border-color: @border; 50 | } 51 | } 52 | 53 | .badge { 54 | color: @background; 55 | background-color: @color; 56 | } 57 | } 58 | 59 | // Button sizes 60 | .button-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) { 61 | padding: @padding-vertical @padding-horizontal; 62 | font-size: @font-size; 63 | line-height: @line-height; 64 | border-radius: @border-radius; 65 | } 66 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/center-block.less: -------------------------------------------------------------------------------- 1 | // Center-align a block level element 2 | 3 | .center-block() { 4 | display: block; 5 | margin-left: auto; 6 | margin-right: auto; 7 | } 8 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/clearfix.less: -------------------------------------------------------------------------------- 1 | // Clearfix 2 | // 3 | // For modern browsers 4 | // 1. The space content is one way to avoid an Opera bug when the 5 | // contenteditable attribute is included anywhere else in the document. 6 | // Otherwise it causes space to appear at the top and bottom of elements 7 | // that are clearfixed. 8 | // 2. The use of `table` rather than `block` is only necessary if using 9 | // `:before` to contain the top-margins of child elements. 10 | // 11 | // Source: http://nicolasgallagher.com/micro-clearfix-hack/ 12 | 13 | .clearfix() { 14 | &:before, 15 | &:after { 16 | content: " "; // 1 17 | display: table; // 2 18 | } 19 | &:after { 20 | clear: both; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/hide-text.less: -------------------------------------------------------------------------------- 1 | // CSS image replacement 2 | // 3 | // Heads up! v3 launched with only `.hide-text()`, but per our pattern for 4 | // mixins being reused as classes with the same name, this doesn't hold up. As 5 | // of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`. 6 | // 7 | // Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757 8 | 9 | // Deprecated as of v3.0.1 (has been removed in v4) 10 | .hide-text() { 11 | font: ~"0/0" a; 12 | color: transparent; 13 | text-shadow: none; 14 | background-color: transparent; 15 | border: 0; 16 | } 17 | 18 | // New mixin to use as of v3.0.1 19 | .text-hide() { 20 | .hide-text(); 21 | } 22 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/image.less: -------------------------------------------------------------------------------- 1 | // Image Mixins 2 | // - Responsive image 3 | // - Retina image 4 | 5 | 6 | // Responsive image 7 | // 8 | // Keep images from scaling beyond the width of their parents. 9 | .img-responsive(@display: block) { 10 | display: @display; 11 | max-width: 100%; // Part 1: Set a maximum relative to the parent 12 | height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching 13 | } 14 | 15 | 16 | // Retina image 17 | // 18 | // Short retina mixin for setting background-image and -size. Note that the 19 | // spelling of `min--moz-device-pixel-ratio` is intentional. 20 | .img-retina(@file-1x; @file-2x; @width-1x; @height-1x) { 21 | background-image: url("@{file-1x}"); 22 | 23 | @media 24 | only screen and (-webkit-min-device-pixel-ratio: 2), 25 | only screen and ( min--moz-device-pixel-ratio: 2), 26 | only screen and ( -o-min-device-pixel-ratio: 2/1), 27 | only screen and ( min-device-pixel-ratio: 2), 28 | only screen and ( min-resolution: 192dpi), 29 | only screen and ( min-resolution: 2dppx) { 30 | background-image: url("@{file-2x}"); 31 | background-size: @width-1x @height-1x; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/labels.less: -------------------------------------------------------------------------------- 1 | // Labels 2 | 3 | .label-variant(@color) { 4 | background-color: @color; 5 | 6 | &[href] { 7 | &:hover, 8 | &:focus { 9 | background-color: darken(@color, 10%); 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/list-group.less: -------------------------------------------------------------------------------- 1 | // List Groups 2 | 3 | .list-group-item-variant(@state; @background; @color) { 4 | .list-group-item-@{state} { 5 | color: @color; 6 | background-color: @background; 7 | 8 | a&, 9 | button& { 10 | color: @color; 11 | 12 | .list-group-item-heading { 13 | color: inherit; 14 | } 15 | 16 | &:hover, 17 | &:focus { 18 | color: @color; 19 | background-color: darken(@background, 5%); 20 | } 21 | &.active, 22 | &.active:hover, 23 | &.active:focus { 24 | color: #fff; 25 | background-color: @color; 26 | border-color: @color; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/nav-divider.less: -------------------------------------------------------------------------------- 1 | // Horizontal dividers 2 | // 3 | // Dividers (basically an hr) within dropdowns and nav lists 4 | 5 | .nav-divider(@color: #e5e5e5) { 6 | height: 1px; 7 | margin: ((@line-height-computed / 2) - 1) 0; 8 | overflow: hidden; 9 | background-color: @color; 10 | } 11 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/nav-vertical-align.less: -------------------------------------------------------------------------------- 1 | // Navbar vertical align 2 | // 3 | // Vertically center elements in the navbar. 4 | // Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin. 5 | 6 | .navbar-vertical-align(@element-height) { 7 | margin-top: ((@navbar-height - @element-height) / 2); 8 | margin-bottom: ((@navbar-height - @element-height) / 2); 9 | } 10 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/opacity.less: -------------------------------------------------------------------------------- 1 | // Opacity 2 | 3 | .opacity(@opacity) { 4 | opacity: @opacity; 5 | // IE8 filter 6 | @opacity-ie: (@opacity * 100); 7 | filter: ~"alpha(opacity=@{opacity-ie})"; 8 | } 9 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/pagination.less: -------------------------------------------------------------------------------- 1 | // Pagination 2 | 3 | .pagination-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) { 4 | > li { 5 | > a, 6 | > span { 7 | padding: @padding-vertical @padding-horizontal; 8 | font-size: @font-size; 9 | line-height: @line-height; 10 | } 11 | &:first-child { 12 | > a, 13 | > span { 14 | .border-left-radius(@border-radius); 15 | } 16 | } 17 | &:last-child { 18 | > a, 19 | > span { 20 | .border-right-radius(@border-radius); 21 | } 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/panels.less: -------------------------------------------------------------------------------- 1 | // Panels 2 | 3 | .panel-variant(@border; @heading-text-color; @heading-bg-color; @heading-border) { 4 | border-color: @border; 5 | 6 | & > .panel-heading { 7 | color: @heading-text-color; 8 | background-color: @heading-bg-color; 9 | border-color: @heading-border; 10 | 11 | + .panel-collapse > .panel-body { 12 | border-top-color: @border; 13 | } 14 | .badge { 15 | color: @heading-bg-color; 16 | background-color: @heading-text-color; 17 | } 18 | } 19 | & > .panel-footer { 20 | + .panel-collapse > .panel-body { 21 | border-bottom-color: @border; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/progress-bar.less: -------------------------------------------------------------------------------- 1 | // Progress bars 2 | 3 | .progress-bar-variant(@color) { 4 | background-color: @color; 5 | 6 | // Deprecated parent class requirement as of v3.2.0 7 | .progress-striped & { 8 | #gradient > .striped(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/reset-filter.less: -------------------------------------------------------------------------------- 1 | // Reset filters for IE 2 | // 3 | // When you need to remove a gradient background, do not forget to use this to reset 4 | // the IE filter for IE9 and below. 5 | 6 | .reset-filter() { 7 | filter: e(%("progid:DXImageTransform.Microsoft.gradient(enabled = false)")); 8 | } 9 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/reset-text.less: -------------------------------------------------------------------------------- 1 | .reset-text() { 2 | font-family: @font-family-base; 3 | // We deliberately do NOT reset font-size. 4 | font-style: normal; 5 | font-weight: normal; 6 | letter-spacing: normal; 7 | line-break: auto; 8 | line-height: @line-height-base; 9 | text-align: left; // Fallback for where `start` is not supported 10 | text-align: start; 11 | text-decoration: none; 12 | text-shadow: none; 13 | text-transform: none; 14 | white-space: normal; 15 | word-break: normal; 16 | word-spacing: normal; 17 | word-wrap: normal; 18 | } 19 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/resize.less: -------------------------------------------------------------------------------- 1 | // Resize anything 2 | 3 | .resizable(@direction) { 4 | resize: @direction; // Options: horizontal, vertical, both 5 | overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible` 6 | } 7 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/responsive-visibility.less: -------------------------------------------------------------------------------- 1 | // Responsive utilities 2 | 3 | // 4 | // More easily include all the states for responsive-utilities.less. 5 | .responsive-visibility() { 6 | display: block !important; 7 | table& { display: table !important; } 8 | tr& { display: table-row !important; } 9 | th&, 10 | td& { display: table-cell !important; } 11 | } 12 | 13 | .responsive-invisibility() { 14 | display: none !important; 15 | } 16 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/size.less: -------------------------------------------------------------------------------- 1 | // Sizing shortcuts 2 | 3 | .size(@width; @height) { 4 | width: @width; 5 | height: @height; 6 | } 7 | 8 | .square(@size) { 9 | .size(@size; @size); 10 | } 11 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/tab-focus.less: -------------------------------------------------------------------------------- 1 | // WebKit-style focus 2 | 3 | .tab-focus() { 4 | // WebKit-specific. Other browsers will keep their default outline style. 5 | // (Initially tried to also force default via `outline: initial`, 6 | // but that seems to erroneously remove the outline in Firefox altogether.) 7 | outline: 5px auto -webkit-focus-ring-color; 8 | outline-offset: -2px; 9 | } 10 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/table-row.less: -------------------------------------------------------------------------------- 1 | // Tables 2 | 3 | .table-row-variant(@state; @background) { 4 | // Exact selectors below required to override `.table-striped` and prevent 5 | // inheritance to nested tables. 6 | .table > thead > tr, 7 | .table > tbody > tr, 8 | .table > tfoot > tr { 9 | > td.@{state}, 10 | > th.@{state}, 11 | &.@{state} > td, 12 | &.@{state} > th { 13 | background-color: @background; 14 | } 15 | } 16 | 17 | // Hover states for `.table-hover` 18 | // Note: this is not available for cells or rows within `thead` or `tfoot`. 19 | .table-hover > tbody > tr { 20 | > td.@{state}:hover, 21 | > th.@{state}:hover, 22 | &.@{state}:hover > td, 23 | &:hover > .@{state}, 24 | &.@{state}:hover > th { 25 | background-color: darken(@background, 5%); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/text-emphasis.less: -------------------------------------------------------------------------------- 1 | // Typography 2 | 3 | .text-emphasis-variant(@color) { 4 | color: @color; 5 | a&:hover, 6 | a&:focus { 7 | color: darken(@color, 10%); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/mixins/text-overflow.less: -------------------------------------------------------------------------------- 1 | // Text overflow 2 | // Requires inline-block or block for proper styling 3 | 4 | .text-overflow() { 5 | overflow: hidden; 6 | text-overflow: ellipsis; 7 | white-space: nowrap; 8 | } 9 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/pager.less: -------------------------------------------------------------------------------- 1 | // 2 | // Pager pagination 3 | // -------------------------------------------------- 4 | 5 | 6 | .pager { 7 | padding-left: 0; 8 | margin: @line-height-computed 0; 9 | list-style: none; 10 | text-align: center; 11 | &:extend(.clearfix all); 12 | li { 13 | display: inline; 14 | > a, 15 | > span { 16 | display: inline-block; 17 | padding: 5px 14px; 18 | background-color: @pager-bg; 19 | border: 1px solid @pager-border; 20 | border-radius: @pager-border-radius; 21 | } 22 | 23 | > a:hover, 24 | > a:focus { 25 | text-decoration: none; 26 | background-color: @pager-hover-bg; 27 | } 28 | } 29 | 30 | .next { 31 | > a, 32 | > span { 33 | float: right; 34 | } 35 | } 36 | 37 | .previous { 38 | > a, 39 | > span { 40 | float: left; 41 | } 42 | } 43 | 44 | .disabled { 45 | > a, 46 | > a:hover, 47 | > a:focus, 48 | > span { 49 | color: @pager-disabled-color; 50 | background-color: @pager-bg; 51 | cursor: @cursor-disabled; 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/pagination.less: -------------------------------------------------------------------------------- 1 | // 2 | // Pagination (multiple pages) 3 | // -------------------------------------------------- 4 | .pagination { 5 | display: inline-block; 6 | padding-left: 0; 7 | margin: @line-height-computed 0; 8 | border-radius: @border-radius-base; 9 | 10 | > li { 11 | display: inline; // Remove list-style and block-level defaults 12 | > a, 13 | > span { 14 | position: relative; 15 | float: left; // Collapse white-space 16 | padding: @padding-base-vertical @padding-base-horizontal; 17 | line-height: @line-height-base; 18 | text-decoration: none; 19 | color: @pagination-color; 20 | background-color: @pagination-bg; 21 | border: 1px solid @pagination-border; 22 | margin-left: -1px; 23 | } 24 | &:first-child { 25 | > a, 26 | > span { 27 | margin-left: 0; 28 | .border-left-radius(@border-radius-base); 29 | } 30 | } 31 | &:last-child { 32 | > a, 33 | > span { 34 | .border-right-radius(@border-radius-base); 35 | } 36 | } 37 | } 38 | 39 | > li > a, 40 | > li > span { 41 | &:hover, 42 | &:focus { 43 | z-index: 2; 44 | color: @pagination-hover-color; 45 | background-color: @pagination-hover-bg; 46 | border-color: @pagination-hover-border; 47 | } 48 | } 49 | 50 | > .active > a, 51 | > .active > span { 52 | &, 53 | &:hover, 54 | &:focus { 55 | z-index: 3; 56 | color: @pagination-active-color; 57 | background-color: @pagination-active-bg; 58 | border-color: @pagination-active-border; 59 | cursor: default; 60 | } 61 | } 62 | 63 | > .disabled { 64 | > span, 65 | > span:hover, 66 | > span:focus, 67 | > a, 68 | > a:hover, 69 | > a:focus { 70 | color: @pagination-disabled-color; 71 | background-color: @pagination-disabled-bg; 72 | border-color: @pagination-disabled-border; 73 | cursor: @cursor-disabled; 74 | } 75 | } 76 | } 77 | 78 | // Sizing 79 | // -------------------------------------------------- 80 | 81 | // Large 82 | .pagination-lg { 83 | .pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large); 84 | } 85 | 86 | // Small 87 | .pagination-sm { 88 | .pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small); 89 | } 90 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/print.less: -------------------------------------------------------------------------------- 1 | /*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */ 2 | 3 | // ========================================================================== 4 | // Print styles. 5 | // Inlined to avoid the additional HTTP request: h5bp.com/r 6 | // ========================================================================== 7 | 8 | @media print { 9 | *, 10 | *:before, 11 | *:after { 12 | background: transparent !important; 13 | color: #000 !important; // Black prints faster: h5bp.com/s 14 | box-shadow: none !important; 15 | text-shadow: none !important; 16 | } 17 | 18 | a, 19 | a:visited { 20 | text-decoration: underline; 21 | } 22 | 23 | a[href]:after { 24 | content: " (" attr(href) ")"; 25 | } 26 | 27 | abbr[title]:after { 28 | content: " (" attr(title) ")"; 29 | } 30 | 31 | // Don't show links that are fragment identifiers, 32 | // or use the `javascript:` pseudo protocol 33 | a[href^="#"]:after, 34 | a[href^="javascript:"]:after { 35 | content: ""; 36 | } 37 | 38 | pre, 39 | blockquote { 40 | border: 1px solid #999; 41 | page-break-inside: avoid; 42 | } 43 | 44 | thead { 45 | display: table-header-group; // h5bp.com/t 46 | } 47 | 48 | tr, 49 | img { 50 | page-break-inside: avoid; 51 | } 52 | 53 | img { 54 | max-width: 100% !important; 55 | } 56 | 57 | p, 58 | h2, 59 | h3 { 60 | orphans: 3; 61 | widows: 3; 62 | } 63 | 64 | h2, 65 | h3 { 66 | page-break-after: avoid; 67 | } 68 | 69 | // Bootstrap specific changes start 70 | 71 | // Bootstrap components 72 | .navbar { 73 | display: none; 74 | } 75 | .btn, 76 | .dropup > .btn { 77 | > .caret { 78 | border-top-color: #000 !important; 79 | } 80 | } 81 | .label { 82 | border: 1px solid #000; 83 | } 84 | 85 | .table { 86 | border-collapse: collapse !important; 87 | 88 | td, 89 | th { 90 | background-color: #fff !important; 91 | } 92 | } 93 | .table-bordered { 94 | th, 95 | td { 96 | border: 1px solid #ddd !important; 97 | } 98 | } 99 | 100 | // Bootstrap specific changes end 101 | } 102 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/progress-bars.less: -------------------------------------------------------------------------------- 1 | // 2 | // Progress bars 3 | // -------------------------------------------------- 4 | 5 | 6 | // Bar animations 7 | // ------------------------- 8 | 9 | // WebKit 10 | @-webkit-keyframes progress-bar-stripes { 11 | from { background-position: 40px 0; } 12 | to { background-position: 0 0; } 13 | } 14 | 15 | // Spec and IE10+ 16 | @keyframes progress-bar-stripes { 17 | from { background-position: 40px 0; } 18 | to { background-position: 0 0; } 19 | } 20 | 21 | 22 | // Bar itself 23 | // ------------------------- 24 | 25 | // Outer container 26 | .progress { 27 | overflow: hidden; 28 | height: @line-height-computed; 29 | margin-bottom: @line-height-computed; 30 | background-color: @progress-bg; 31 | border-radius: @progress-border-radius; 32 | .box-shadow(inset 0 1px 2px rgba(0,0,0,.1)); 33 | } 34 | 35 | // Bar of progress 36 | .progress-bar { 37 | float: left; 38 | width: 0%; 39 | height: 100%; 40 | font-size: @font-size-small; 41 | line-height: @line-height-computed; 42 | color: @progress-bar-color; 43 | text-align: center; 44 | background-color: @progress-bar-bg; 45 | .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15)); 46 | .transition(width .6s ease); 47 | } 48 | 49 | // Striped bars 50 | // 51 | // `.progress-striped .progress-bar` is deprecated as of v3.2.0 in favor of the 52 | // `.progress-bar-striped` class, which you just add to an existing 53 | // `.progress-bar`. 54 | .progress-striped .progress-bar, 55 | .progress-bar-striped { 56 | #gradient > .striped(); 57 | background-size: 40px 40px; 58 | } 59 | 60 | // Call animation for the active one 61 | // 62 | // `.progress.active .progress-bar` is deprecated as of v3.2.0 in favor of the 63 | // `.progress-bar.active` approach. 64 | .progress.active .progress-bar, 65 | .progress-bar.active { 66 | .animation(progress-bar-stripes 2s linear infinite); 67 | } 68 | 69 | 70 | // Variations 71 | // ------------------------- 72 | 73 | .progress-bar-success { 74 | .progress-bar-variant(@progress-bar-success-bg); 75 | } 76 | 77 | .progress-bar-info { 78 | .progress-bar-variant(@progress-bar-info-bg); 79 | } 80 | 81 | .progress-bar-warning { 82 | .progress-bar-variant(@progress-bar-warning-bg); 83 | } 84 | 85 | .progress-bar-danger { 86 | .progress-bar-variant(@progress-bar-danger-bg); 87 | } 88 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/responsive-embed.less: -------------------------------------------------------------------------------- 1 | // Embeds responsive 2 | // 3 | // Credit: Nicolas Gallagher and SUIT CSS. 4 | 5 | .embed-responsive { 6 | position: relative; 7 | display: block; 8 | height: 0; 9 | padding: 0; 10 | overflow: hidden; 11 | 12 | .embed-responsive-item, 13 | iframe, 14 | embed, 15 | object, 16 | video { 17 | position: absolute; 18 | top: 0; 19 | left: 0; 20 | bottom: 0; 21 | height: 100%; 22 | width: 100%; 23 | border: 0; 24 | } 25 | } 26 | 27 | // Modifier class for 16:9 aspect ratio 28 | .embed-responsive-16by9 { 29 | padding-bottom: 56.25%; 30 | } 31 | 32 | // Modifier class for 4:3 aspect ratio 33 | .embed-responsive-4by3 { 34 | padding-bottom: 75%; 35 | } 36 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/thumbnails.less: -------------------------------------------------------------------------------- 1 | // 2 | // Thumbnails 3 | // -------------------------------------------------- 4 | 5 | 6 | // Mixin and adjust the regular image class 7 | .thumbnail { 8 | display: block; 9 | padding: @thumbnail-padding; 10 | margin-bottom: @line-height-computed; 11 | line-height: @line-height-base; 12 | background-color: @thumbnail-bg; 13 | border: 1px solid @thumbnail-border; 14 | border-radius: @thumbnail-border-radius; 15 | .transition(border .2s ease-in-out); 16 | 17 | > img, 18 | a > img { 19 | &:extend(.img-responsive); 20 | margin-left: auto; 21 | margin-right: auto; 22 | } 23 | 24 | // Add a hover state for linked versions only 25 | a&:hover, 26 | a&:focus, 27 | a&.active { 28 | border-color: @link-color; 29 | } 30 | 31 | // Image captions 32 | .caption { 33 | padding: @thumbnail-caption-padding; 34 | color: @thumbnail-caption-color; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/utilities.less: -------------------------------------------------------------------------------- 1 | // 2 | // Utility classes 3 | // -------------------------------------------------- 4 | 5 | 6 | // Floats 7 | // ------------------------- 8 | 9 | .clearfix { 10 | .clearfix(); 11 | } 12 | .center-block { 13 | .center-block(); 14 | } 15 | .pull-right { 16 | float: right !important; 17 | } 18 | .pull-left { 19 | float: left !important; 20 | } 21 | 22 | 23 | // Toggling content 24 | // ------------------------- 25 | 26 | // Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1 27 | .hide { 28 | display: none !important; 29 | } 30 | .show { 31 | display: block !important; 32 | } 33 | .invisible { 34 | visibility: hidden; 35 | } 36 | .text-hide { 37 | .text-hide(); 38 | } 39 | 40 | 41 | // Hide from screenreaders and browsers 42 | // 43 | // Credit: HTML5 Boilerplate 44 | 45 | .hidden { 46 | display: none !important; 47 | } 48 | 49 | 50 | // For Affix plugin 51 | // ------------------------- 52 | 53 | .affix { 54 | position: fixed; 55 | } 56 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/less/wells.less: -------------------------------------------------------------------------------- 1 | // 2 | // Wells 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | .well { 8 | min-height: 20px; 9 | padding: 19px; 10 | margin-bottom: 20px; 11 | background-color: @well-bg; 12 | border: 1px solid @well-border; 13 | border-radius: @border-radius-base; 14 | .box-shadow(inset 0 1px 1px rgba(0,0,0,.05)); 15 | blockquote { 16 | border-color: #ddd; 17 | border-color: rgba(0,0,0,.15); 18 | } 19 | } 20 | 21 | // Sizes 22 | .well-lg { 23 | padding: 24px; 24 | border-radius: @border-radius-large; 25 | } 26 | .well-sm { 27 | padding: 9px; 28 | border-radius: @border-radius-small; 29 | } 30 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/nuget/MyGet.ps1: -------------------------------------------------------------------------------- 1 | $nuget = $env:NuGet 2 | 3 | # parse the version number out of package.json 4 | $bsversion = ((Get-Content $env:SourcesPath\package.json) -join "`n" | ConvertFrom-Json).version 5 | 6 | # create packages 7 | & $nuget pack "nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion 8 | & $nuget pack "nuget\bootstrap.less.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion 9 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/nuget/bootstrap.less.nuspec: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | bootstrap.less 5 | 3.3.7 6 | Bootstrap Less 7 | Twitter, Inc. 8 | bootstrap 9 | The most popular front-end framework for developing responsive, mobile first projects on the web. 10 | http://blog.getbootstrap.com 11 | Bootstrap framework in Less. Includes fonts and JavaScript 12 | en-us 13 | http://getbootstrap.com 14 | http://getbootstrap.com/apple-touch-icon.png 15 | https://github.com/twbs/bootstrap/blob/master/LICENSE 16 | Copyright 2016 17 | false 18 | 19 | 20 | 21 | css js less mobile-first responsive front-end framework web 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/nuget/bootstrap.nuspec: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | bootstrap 5 | 3.3.7 6 | Bootstrap CSS 7 | Twitter, Inc. 8 | bootstrap 9 | The most popular front-end framework for developing responsive, mobile first projects on the web. 10 | http://blog.getbootstrap.com 11 | Bootstrap framework in CSS. Includes fonts and JavaScript 12 | en-us 13 | http://getbootstrap.com 14 | http://getbootstrap.com/apple-touch-icon.png 15 | https://github.com/twbs/bootstrap/blob/master/LICENSE 16 | Copyright 2016 17 | false 18 | 19 | 20 | 21 | css js less mobile-first responsive front-end framework web 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/package.js: -------------------------------------------------------------------------------- 1 | // package metadata file for Meteor.js 2 | 3 | /* jshint strict:false */ 4 | /* global Package:true */ 5 | 6 | Package.describe({ 7 | name: 'twbs:bootstrap', // http://atmospherejs.com/twbs/bootstrap 8 | summary: 'The most popular front-end framework for developing responsive, mobile first projects on the web.', 9 | version: '3.3.7', 10 | git: 'https://github.com/twbs/bootstrap.git' 11 | }); 12 | 13 | Package.onUse(function (api) { 14 | api.versionsFrom('METEOR@1.0'); 15 | api.use('jquery', 'client'); 16 | var assets = [ 17 | 'dist/fonts/glyphicons-halflings-regular.eot', 18 | 'dist/fonts/glyphicons-halflings-regular.svg', 19 | 'dist/fonts/glyphicons-halflings-regular.ttf', 20 | 'dist/fonts/glyphicons-halflings-regular.woff', 21 | 'dist/fonts/glyphicons-halflings-regular.woff2' 22 | ]; 23 | if (api.addAssets) { 24 | api.addAssets(assets, 'client'); 25 | } else { 26 | api.addFiles(assets, 'client', { isAsset: true }); 27 | } 28 | api.addFiles([ 29 | 'dist/css/bootstrap.css', 30 | 'dist/js/bootstrap.js' 31 | ], 'client'); 32 | }); 33 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/bootstrap/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bootstrap", 3 | "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.", 4 | "version": "3.3.7", 5 | "keywords": [ 6 | "css", 7 | "less", 8 | "mobile-first", 9 | "responsive", 10 | "front-end", 11 | "framework", 12 | "web" 13 | ], 14 | "homepage": "http://getbootstrap.com", 15 | "author": "Twitter, Inc.", 16 | "scripts": { 17 | "change-version": "node grunt/change-version.js", 18 | "update-shrinkwrap": "npm shrinkwrap --dev && shx mv ./npm-shrinkwrap.json ./grunt/npm-shrinkwrap.json", 19 | "test": "grunt test" 20 | }, 21 | "style": "dist/css/bootstrap.css", 22 | "less": "less/bootstrap.less", 23 | "main": "./dist/js/npm", 24 | "repository": { 25 | "type": "git", 26 | "url": "https://github.com/twbs/bootstrap.git" 27 | }, 28 | "bugs": { 29 | "url": "https://github.com/twbs/bootstrap/issues" 30 | }, 31 | "license": "MIT", 32 | "devDependencies": { 33 | "btoa": "~1.1.2", 34 | "glob": "~7.0.3", 35 | "grunt": "~1.0.1", 36 | "grunt-autoprefixer": "~3.0.4", 37 | "grunt-contrib-clean": "~1.0.0", 38 | "grunt-contrib-compress": "~1.3.0", 39 | "grunt-contrib-concat": "~1.0.0", 40 | "grunt-contrib-connect": "~1.0.0", 41 | "grunt-contrib-copy": "~1.0.0", 42 | "grunt-contrib-csslint": "~1.0.0", 43 | "grunt-contrib-cssmin": "~1.0.0", 44 | "grunt-contrib-htmlmin": "~1.5.0", 45 | "grunt-contrib-jshint": "~1.0.0", 46 | "grunt-contrib-less": "~1.3.0", 47 | "grunt-contrib-pug": "~1.0.0", 48 | "grunt-contrib-qunit": "~0.7.0", 49 | "grunt-contrib-uglify": "~1.0.0", 50 | "grunt-contrib-watch": "~1.0.0", 51 | "grunt-csscomb": "~3.1.0", 52 | "grunt-exec": "~1.0.0", 53 | "grunt-html": "~8.0.1", 54 | "grunt-jekyll": "~0.4.4", 55 | "grunt-jscs": "~3.0.1", 56 | "grunt-saucelabs": "~9.0.0", 57 | "load-grunt-tasks": "~3.5.0", 58 | "markdown-it": "^7.0.0", 59 | "shelljs": "^0.7.0", 60 | "shx": "^0.1.2", 61 | "time-grunt": "^1.3.0" 62 | }, 63 | "engines": { 64 | "node": ">=0.10.1" 65 | }, 66 | "files": [ 67 | "dist", 68 | "fonts", 69 | "grunt", 70 | "js/*.js", 71 | "less/**/*.less", 72 | "Gruntfile.js", 73 | "LICENSE" 74 | ], 75 | "jspm": { 76 | "main": "js/bootstrap", 77 | "shim": { 78 | "js/bootstrap": { 79 | "deps": "jquery", 80 | "exports": "$" 81 | } 82 | }, 83 | "files": [ 84 | "css", 85 | "fonts", 86 | "js" 87 | ] 88 | } 89 | } 90 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/dataTablesScripts/dataTables.bootstrap4.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | DataTables Bootstrap 3 integration 3 | ©2011-2015 SpryMedia Ltd - datatables.net/license 4 | */ 5 | (function(b){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(a){return b(a,window,document)}):"object"===typeof exports?module.exports=function(a,d){a||(a=window);if(!d||!d.fn.dataTable)d=require("datatables.net")(a,d).$;return b(d,a,a.document)}:b(jQuery,window,document)})(function(b,a,d,m){var f=b.fn.dataTable;b.extend(!0,f.defaults,{dom:"<'row'<'col-sm-12 col-md-6'l><'col-sm-12 col-md-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>", 6 | renderer:"bootstrap"});b.extend(f.ext.classes,{sWrapper:"dataTables_wrapper container-fluid dt-bootstrap4",sFilterInput:"form-control form-control-sm",sLengthSelect:"form-control form-control-sm",sProcessing:"dataTables_processing card",sPageButton:"paginate_button page-item"});f.ext.renderer.pageButton.bootstrap=function(a,h,r,s,j,n){var o=new f.Api(a),t=a.oClasses,k=a.oLanguage.oPaginate,u=a.oLanguage.oAria.paginate||{},e,g,p=0,q=function(d,f){var l,h,i,c,m=function(a){a.preventDefault();!b(a.currentTarget).hasClass("disabled")&& 7 | o.page()!=a.data.action&&o.page(a.data.action).draw("page")};l=0;for(h=f.length;l",{"class":t.sPageButton+" "+g,id:0===r&& 8 | "string"===typeof c?a.sTableId+"_"+c:null}).append(b("",{href:"#","aria-controls":a.sTableId,"aria-label":u[c],"data-dt-idx":p,tabindex:a.iTabIndex,"class":"page-link"}).html(e)).appendTo(d),a.oApi._fnBindAction(i,{action:c},m),p++)}},i;try{i=b(h).find(d.activeElement).data("dt-idx")}catch(v){}q(b(h).empty().html('
    ').children("ul"),s);i!==m&&b(h).find("[data-dt-idx="+i+"]").focus()};return f}); 9 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/datetimepicker/images/ui-icons_444444_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/EventApplicationCore/wwwroot/lib/datetimepicker/images/ui-icons_444444_256x240.png -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/jquery-validation-unobtrusive/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery-validation-unobtrusive", 3 | "version": "3.2.6", 4 | "homepage": "https://github.com/aspnet/jquery-validation-unobtrusive", 5 | "description": "Add-on to jQuery Validation to enable unobtrusive validation options in data-* attributes.", 6 | "main": [ 7 | "jquery.validate.unobtrusive.js" 8 | ], 9 | "ignore": [ 10 | "**/.*", 11 | "*.json", 12 | "*.md", 13 | "*.txt", 14 | "gulpfile.js" 15 | ], 16 | "keywords": [ 17 | "jquery", 18 | "asp.net", 19 | "mvc", 20 | "validation", 21 | "unobtrusive" 22 | ], 23 | "authors": [ 24 | "Microsoft" 25 | ], 26 | "license": "http://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm", 27 | "repository": { 28 | "type": "git", 29 | "url": "git://github.com/aspnet/jquery-validation-unobtrusive.git" 30 | }, 31 | "dependencies": { 32 | "jquery-validation": ">=1.8", 33 | "jquery": ">=1.8" 34 | }, 35 | "_release": "3.2.6", 36 | "_resolution": { 37 | "type": "version", 38 | "tag": "v3.2.6", 39 | "commit": "13386cd1b5947d8a5d23a12b531ce3960be1eba7" 40 | }, 41 | "_source": "git://github.com/aspnet/jquery-validation-unobtrusive.git", 42 | "_target": "3.2.6", 43 | "_originalSource": "jquery-validation-unobtrusive" 44 | } -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/jquery-validation/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery-validation", 3 | "homepage": "http://jqueryvalidation.org/", 4 | "repository": { 5 | "type": "git", 6 | "url": "git://github.com/jzaefferer/jquery-validation.git" 7 | }, 8 | "authors": [ 9 | "Jörn Zaefferer " 10 | ], 11 | "description": "Form validation made easy", 12 | "main": "dist/jquery.validate.js", 13 | "keywords": [ 14 | "forms", 15 | "validation", 16 | "validate" 17 | ], 18 | "license": "MIT", 19 | "ignore": [ 20 | "**/.*", 21 | "node_modules", 22 | "bower_components", 23 | "test", 24 | "demo", 25 | "lib" 26 | ], 27 | "dependencies": { 28 | "jquery": ">= 1.7.2" 29 | }, 30 | "version": "1.14.0", 31 | "_release": "1.14.0", 32 | "_resolution": { 33 | "type": "version", 34 | "tag": "1.14.0", 35 | "commit": "c1343fb9823392aa9acbe1c3ffd337b8c92fed48" 36 | }, 37 | "_source": "git://github.com/jzaefferer/jquery-validation.git", 38 | "_target": ">=1.8", 39 | "_originalSource": "jquery-validation" 40 | } -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/jquery-validation/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | ===================== 3 | 4 | Copyright Jörn Zaefferer 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/jquery/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "main": "dist/jquery.js", 4 | "license": "MIT", 5 | "ignore": [ 6 | "package.json" 7 | ], 8 | "keywords": [ 9 | "jquery", 10 | "javascript", 11 | "browser", 12 | "library" 13 | ], 14 | "homepage": "https://github.com/jquery/jquery-dist", 15 | "version": "2.2.0", 16 | "_release": "2.2.0", 17 | "_resolution": { 18 | "type": "version", 19 | "tag": "2.2.0", 20 | "commit": "6fc01e29bdad0964f62ef56d01297039cdcadbe5" 21 | }, 22 | "_source": "git://github.com/jquery/jquery-dist.git", 23 | "_target": "2.2.0", 24 | "_originalSource": "jquery" 25 | } -------------------------------------------------------------------------------- /EventApplicationCore/wwwroot/lib/jquery/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright jQuery Foundation and other contributors, https://jquery.org/ 2 | 3 | This software consists of voluntary contributions made by many 4 | individuals. For exact contribution history, see the revision history 5 | available at https://github.com/jquery/jquery 6 | 7 | The following license applies to all parts of this software except as 8 | documented below: 9 | 10 | ==== 11 | 12 | Permission is hereby granted, free of charge, to any person obtaining 13 | a copy of this software and associated documentation files (the 14 | "Software"), to deal in the Software without restriction, including 15 | without limitation the rights to use, copy, modify, merge, publish, 16 | distribute, sublicense, and/or sell copies of the Software, and to 17 | permit persons to whom the Software is furnished to do so, subject to 18 | the following conditions: 19 | 20 | The above copyright notice and this permission notice shall be 21 | included in all copies or substantial portions of the Software. 22 | 23 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 24 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 25 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 26 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 27 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 28 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 29 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 30 | 31 | ==== 32 | 33 | All files located in the node_modules and external directories are 34 | externally maintained libraries used by this software which have their 35 | own licenses; we recommend you read them, as their terms may differ from 36 | the terms above. 37 | -------------------------------------------------------------------------------- /ReadMe_First.txt: -------------------------------------------------------------------------------- 1 | ++++++++++++++++++++++++++++++++++ Database Part ++++++++++++++++++++++++++++++++++ 2 | 3 | ||||||||||||||||||||||||| == Author :- Saineshwar Bageri == ||||||||||||||||||||||||| 4 | 5 | ==================================================================================== 6 | 7 | 1) First thing to do is Create Database with Name :- EventDB 8 | 9 | ==================================================================================== 10 | 11 | 2) After Creating Database now make changes ConnectionStrings in appsettings.json file 12 | 13 | Change this connectionStrings your Own Data Source and Sql UserName and Password. 14 | 15 | ## Sql Server Authentication ## 16 | 17 | "ConnectionStrings": 18 | { 19 | "DatabaseConnection": "Data Source=SAI-PC; UID=sa; Password=Pass@123;Database=EventDB;" 20 | } 21 | 22 | ## Windows Authentication ## 23 | 24 | "ConnectionStrings": 25 | { 26 | "DatabaseConnection": "Server=YOURSERVERNAME; 27 | Database=YOURDATABASENAME; 28 | Trusted_Connection=True; 29 | MultipleActiveResultSets=true" 30 | } 31 | 32 | 33 | ==================================================================================== 34 | 35 | 3) Login Details 36 | 37 | 1) Customer 38 | UserID : Customer 39 | Password : 1234567 40 | 41 | 2) Admin 42 | UserID : Admin 43 | Password : 1234567 44 | 45 | 3) SuperAdmin 46 | UserID : SuperAdmin 47 | Password : 1234567 48 | 49 | ==================================================================================== 50 | -------------------------------------------------------------------------------- /image001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/image001.png -------------------------------------------------------------------------------- /image021.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/image021.png -------------------------------------------------------------------------------- /image027.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/image027.png -------------------------------------------------------------------------------- /image030.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/image030.png -------------------------------------------------------------------------------- /image032.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/image032.jpg -------------------------------------------------------------------------------- /image053.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/image053.jpg -------------------------------------------------------------------------------- /image056.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/image056.jpg -------------------------------------------------------------------------------- /image057.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/image057.jpg -------------------------------------------------------------------------------- /image059.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/ASP-MVC-Project-Event-Management/9cec0991d8aba0b2f327bbe3016c075db4e99499/image059.jpg --------------------------------------------------------------------------------