23 lines
754 B
C#
23 lines
754 B
C#
using Company.Domain.EmployeeComputeOptionsAgg;
|
|
using CompanyManagment.App.Contracts.Workshop;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Microsoft.AspNetCore.Mvc.RazorPages;
|
|
|
|
namespace ServiceHost.Areas.AdminNew.Pages.Company.Test;
|
|
|
|
public class IndexModel : PageModel
|
|
{
|
|
private readonly IEmployeeComputeOptionsRepository _employeeComputeOptionsRepository;
|
|
|
|
public List<WorkshopViewModel> WorkshopList { get; set; }
|
|
public IndexModel(IEmployeeComputeOptionsRepository employeeComputeOptionsRepository)
|
|
{
|
|
_employeeComputeOptionsRepository = employeeComputeOptionsRepository;
|
|
}
|
|
|
|
public void OnGet()
|
|
{
|
|
WorkshopList = _employeeComputeOptionsRepository.TestBonusesBugWorkshops();
|
|
Console.WriteLine("d");
|
|
}
|
|
} |