示例#1
0
 /// <summary>
 /// Remove a picture from the DB based on the unique identifier
 /// </summary>
 /// <param name="id">Unique identifier of picture to delete</param>
 /// <returns>Boolean value representing success of deletion</returns>
 public async Task <bool> DeletePicture(int id)
 {
     return(await _picturesRepository.DeleteAsync(id));
 }