using API.Authentication.Interfaces; using DAL.Models; namespace API.Authentication { public class YesAuthentication : IYesAuthentication { private readonly ILogger _logger; public YesAuthentication(ILogger logger) { _logger = logger; _logger.Log(LogLevel.Warning, "Yes Authentication being used."); } public bool canGetAll(User user) { _logger.Log(LogLevel.Warning, "Yes Authentication being used."); return true; } public bool canGet(object model, User user) { _logger.Log(LogLevel.Warning, "Yes Authentication being used."); return true; } public bool canAdd(object item, User user) { _logger.Log(LogLevel.Warning, "Yes Authentication being used."); return true; } public bool canUpdate(object model, User user) { _logger.Log(LogLevel.Warning, "Yes Authentication being used."); return true; } public bool canDelete(object model, User user) { _logger.Log(LogLevel.Warning, "Yes Authentication being used."); return true; } } }