public static tbStaff getStaffData(string username) { string url = string.Format("api/Staff/getStaffData?username={0}", username); tbStaff response = null; ApiRequest <tbStaff> .Get(url, out response); return(response); }