DocSas/PropertyService.Domain/ModelView/property/PropertyProvider.cs
/// <summary>
/// get property types as an asynchronous operation.
/// </summary>
/// <returns>Task&lt;DSCResponse&gt;.</returns>
get property types as an asynchronous operation.
get property types as an asynchronous operation .
public async Task<DSCResponse> GetPropertyTypesAsync()
        {
            var msg = new Dictionary<string, string>();
            var response = new DSCResponse();
            var props = await _propertTypeRepo.GetAsync(x=>x.IsValid == true);
            response.ResponseData = props;
            return response;
        }
public async Task < DSCResponse > GetPropertyTypesAsync ( ) { var msg = new Dictionary < string , string > ( ) ; var response = new DSCResponse ( ) ; var props = await _propertTypeRepo . GetAsync ( x => x . IsValid == true ) ; response . ResponseData = props ; return response ; }
get property types as an asynchronous operation.
get property types as an asynchronous operation .
None