public UnitType GetUnitType(int id)
        {
            UnitType s_UnitType = _UnitTypeService.GetById(id);


            return(s_UnitType);
        }
        public ActionResult Edit(int id)
        {
            var data = AutoMapperHelper.MapToSameViewModel <UnitType, UnitTypeViewModel>(_unitTypeService.GetById(id));

            return(View(data.ToVM()));
        }