public Mark GetOneIncludeObjective(Guid id) { return(_context.Mark.Where(MarkSpecs.GetOne(id)).Include(x => x.Objective).FirstOrDefault()); }
public Mark GetOne(Guid id) { return(_context.Mark.Where(MarkSpecs.GetOne(id)).FirstOrDefault()); }