public async Task <IHttpActionResult> GetColumnsAsync(int id, string search = null) { SearchFieldValidator.Validate(search); var result = await _collectionsService.GetColumnsAsync(id, Session.UserId, search); return(Ok(result)); }
public async Task <IHttpActionResult> GetColumnsAsync(int id, string search = null) { SearchFieldValidator.Validate(search); var result = await _collectionsService.GetColumnsAsync(id, Session.UserId, search); return(Ok(result)); }