public async Task <IActionResult> DeleteMeasurmentUnitConfirmed([FromForm] long Id)
        {
            if (ModelState.IsValid)
            {
                int result = await _repository.RemoveMeasurmentUnitAsync(Id);

                if (result < 1)
                {
                    TempData["MeasurmentUnitMessage"] = _stringLocalizer["Missing measurment unit"].ToString();
                }
                else
                {
                    TempData["MeasurmentUnitMessage"] = _stringLocalizer["Measurment unit deleted successfully"].ToString();
                }
            }
            return(RedirectToAction(nameof(Index)));
        }