public bool UpdateState(StateViewModel model) { var state = Mapper.Map <StateViewModel, State>(model); return(_StateTask.UpdateState(state)); }