예제 #1
0
 /// <summary>
 /// Deletes an instance of Language. Returns true on success.
 /// </summary>
 /// <param name="guid"> guid </param>
 /// <returns>bool</returns>
 public async Task <bool> DeleteLanguage(
     Guid guid,
     CancellationToken cancellationToken = default(CancellationToken))
 {
     cancellationToken.ThrowIfCancellationRequested();
     return(await dbLanguage.Delete(guid, cancellationToken));
 }
예제 #2
0
 /// <summary>
 /// Deletes an instance of Language. Returns true on success.
 /// </summary>
 /// <param name="guid"> guid </param>
 /// <returns>bool</returns>
 public async Task <bool> DeleteLanguage(Guid guid)
 {
     return(await dbLanguage.Delete(guid));
 }