/// <summary> /// Function to edit a discipline. /// </summary> /// <param name="d"></param> /// <returns>Id of the discipline edited</returns> public async Task <Discipline> EditAsync(Discipline d) { await _repo.EditAsync(d); return(d); }