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

            return(Ok());
        }