using Microsoft.Extensions.DependencyInjection;
using SyncfusionSchedulerDeleteBug.DataAccess.Events;
using SyncfusionSchedulerDeleteBug.DataAccess.Mock.Events;
using SyncfusionSchedulerDeleteBug.DataAccess.Mock.Workers;
using SyncfusionSchedulerDeleteBug.DataAccess.Workers;

namespace SyncfusionSchedulerDeleteBug.DataAccess.Mock
{
    public static class ConfigurationExtensions
    {
        public static void AddDataAccessMock(this IServiceCollection services)
        {
            services.AddTransient<IEventsDal, EventsDal>();
            services.AddTransient<IWorkersDal, WorkersDal>();
        }
    }
}
