public Models.Domain.Log GetByName(string name) { Models.Domain.Log model = _databaseContext.Set <Models.Domain.Log>().Where(p => p.Name == name).FirstOrDefault(); return(model); }
public Models.Domain.LogCategory GetById(Guid id) { Models.Domain.LogCategory model = _databaseContext.Set <Models.Domain.LogCategory>().Where(p => p.Id == id).FirstOrDefault(); return(model); }