예제 #1
0
        public async Task <ActionResult> Employees(int id)
        {
            try
            {
                byte[] image = await _imagesService.Employee(id);

                return(Image(image));
            }
            catch (KeyNotFoundException)
            {
                return(HttpNotFound());
            }
        }