public bool CheckIfSkillExists(string skillname) { if (!ModelState.IsValid) { throw new HttpResponseException(HttpStatusCode.BadRequest); } return(_SkillsRepository.CheckIfSkillNameExists(skillname)); }
public bool CheckIfSkillExists(string skillname) { if (!ModelState.IsValid) { throw new HttpResponseException(HttpStatusCode.BadRequest); } return(_SkillsRepository.CheckIfSkillNameExists(skillname)); }