public async Task <IHttpActionResult> EditCandidate([FromBody] JObject dictionaryAsJson)
        {
            Dictionary <string, string> candidate = JsonConvert.DeserializeObject <Dictionary <string, string> >(dictionaryAsJson.ToString());
            var cat = await objCandidate.EditCandidate(candidate);

            return(Ok(cat));
        }