Files
mixtape/zero.Web/Controllers/SectionsController.cs
T

20 lines
354 B
C#
Raw Normal View History

using System.Collections.Generic;
2020-04-06 00:26:31 +02:00
using zero.Core.Api;
using zero.Core.Entities;
2020-04-05 00:54:18 +02:00
namespace zero.Web.Controllers
{
public class SectionsController : BackofficeController
2020-04-05 00:54:18 +02:00
{
ISectionsApi Api;
2020-04-05 00:54:18 +02:00
public SectionsController(ISectionsApi api)
2020-04-05 00:54:18 +02:00
{
2020-04-06 00:26:31 +02:00
Api = api;
2020-04-05 00:54:18 +02:00
}
public IReadOnlyCollection<ISection> GetAll() => Api.GetAll();
2020-04-05 00:54:18 +02:00
}
}