namespace LaaProduction.Web.Controllers.API.Personalization { using LaaProduction.Personalization.Interfaces; using LaaProduction.Web.App_Infrastructure; using System.Web.Http; [AuthorizeBearer] public class SoftwareController : ApiController { private readonly ISoftwareManager softwareManager; public SoftwareController() => this.softwareManager = ServiceProvider.GetService(); [HttpGet] public IHttpActionResult Functions() { var employeeRoles = this.softwareManager.GetFunctions(); return this.Json(employeeRoles); } } }