Пример #1
0
        // GET: /Biopsy/Edit/5
        public async Task <ActionResult> Edit(string id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            Biopsy biopsy = await _biopsyStore.GetBiopsyByIdAsync(id);

            if (biopsy == null)
            {
                return(HttpNotFound());
            }
            return(View(biopsy));
        }