public OkObjectResult OkData <TData>(TData data, int?totalCount) { return(Ok(ApiResultViewModel <TData> .FromData(data, totalCount))); }
public CreatedResult CreatedData <TData>(TData data, object meta = null) { return(Created(string.Empty, ApiResultViewModel <TData> .FromData(data))); }
public OkObjectResult OkData <TData>(TData data, object meta = null) { return(Ok(ApiResultViewModel <TData> .FromData(data, meta))); }