public Designation Post(Designation designation) { if (designation == null || !ModelState.IsValid) { throw new HttpException((int)HttpStatusCode.BadRequest, "Invalid Request"); } return(designationService.SaveDesignation(designation.CreateFrom()).CreateFromm()); }