public async Task <IActionResult> All()
        {
            try
            {
                var designations = await _repository.All();

                return(Ok(designations));
            }
            catch (Exception)
            {
                throw;
            }
        }