/// <summary>
        /// This method is used to register the persistence layer repository for dependency injection.
        /// </summary>
        private static void RegisterPersistenceRepository()
        {
            #region Registration of Persistence Layer Repository Classes

            RetailPOSUnityContainer.Register <IObjectMapper, ObjectMapper>();
            RetailPOSUnityContainer.Register(typeof(IGenericRepository <>), typeof(GenericRepositoryImpl <>));

            #endregion
        }
        /// <summary>
        /// This method is used to register the business services for dependency injection.
        /// </summary>
        private static void RegisterBusinessServices()
        {
            #region Registration of Persistence Layer Repository Classes

            #region Category Services

            RetailPOSUnityContainer.Register <ICategoryService, CategoryServiceImpl>();

            #endregion

            #region Product Services

            RetailPOSUnityContainer.Register <IProductService, ProductServiceImpl>();

            #endregion

            #region User Services

            RetailPOSUnityContainer.Register <IStaffService, StaffServiceImpl>();
            RetailPOSUnityContainer.Register <IUserService, UserServiceImpl>();

            #endregion

            #region Customer Services

            RetailPOSUnityContainer.Register <ICustomerService, CustomerServiceImpl>();

            #endregion

            #region Shop Setting Services

            RetailPOSUnityContainer.Register <ISettingService, SettingServiceImpl>();

            #endregion

            #region Master Services

            RetailPOSUnityContainer.Register <IMasterService, MasterServiceImpl>();

            #endregion

            #region Order Services

            RetailPOSUnityContainer.Register <IOrderService, OrderServiceImpl>();

            #endregion

            #endregion
        }