Beispiel #1
0
 public virtual async Task <int> CreateAsync(TenantExtendedUnit input)
 {
     try
     {
         return(await _tenantExtendedUnitRepository.InsertAndGetIdAsync(input));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #2
0
 /// <summary>
 /// Updating TenantExtendedUnit Details
 /// </summary>
 /// <param name="input"></param>
 /// <returns></returns>
 public virtual async Task UpdateAsync(TenantExtendedUnit input)
 {
     await _tenantExtendedUnitRepository.UpdateAsync(input);
 }