public async Task <JsonResult> GetUserLabels([FromBody] LabelRepository.UserLabelsRequest input) { await CheckPermission(); using (var sqlR = new LabelRepository()) { var result = await sqlR.GetUserLabels(input); return(Json(result)); } }