public bool IsProjectNameUnique(string name) { return(_projects.GetAll().All(p => !p.Name.Equals(name, StringComparison.InvariantCultureIgnoreCase))); }
// GET api/projects public IEnumerable <Object> GetAll() { return(Context.GetAll()); }
public IEnumerable <Project> Get() { return(_projects.GetAll()); }
// GET: Projects public IActionResult Index() { var Projects = _Projects.GetAll(); return(View(Projects)); }