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