public HttpResponseMessage Put(Request.Department department)
        {
            EmployeeModel employeeModel = new EmployeeModel();
            var           dep           = MapperWrapper.Mapper.Map <Department>(department);

            employeeModel.Entry(dep).State = EntityState.Modified;
            employeeModel.SaveChanges();
            return(Request.CreateResponse("Success"));
        }
        public HttpResponseMessage Post(Request.Department department)
        {
            EmployeeModel employeeModel = new EmployeeModel();
            var           dep           = MapperWrapper.Mapper.Map <Department>(department);

            employeeModel.Departments.Add(dep);
            employeeModel.SaveChanges();
            return(Request.CreateResponse("Success"));
        }