예제 #1
0
 /// <summary>
 /// Delete an existing Assignment
 /// </summary>
 /// <returns></returns>
 public async Task DeleteAssignmentAsync(Assignment assignment)
 {
     await _assignmentRepository.DeleteAsync(assignment);
 }
예제 #2
0
 public async Task DeleteAsync(Guid ID)
 {
     await AssignmentRepository.DeleteAsync(ID);
 }
예제 #3
0
        public async Task <IActionResult> Delete(int id)
        {
            await _assignmentRepository.DeleteAsync(id);

            return(Ok());
        }