Find Jobs
Hire Freelancers

Variable declaration error CSO168

$2-8 AUD / hour

完了済み
投稿日: 約7年前

$2-8 AUD / hour

Action is required to resolve the error that reads: CSO 168 the variable “e” is declared but never used. Attached is txt file for you see. IDE is Visual Studio 2015 ______________________________________ using AutoMapper; using System; using [login to view URL]; using [login to view URL]; using [login to view URL]; using [login to view URL]; namespace [login to view URL] { public class ProductController : BaseController { public ProductController() { [login to view URL](cfg => { [login to view URL]<Product, [login to view URL]>(); [login to view URL]<[login to view URL], Product>(); }); [login to view URL] = [login to view URL]; } // GET: Admin/Product public ActionResult Index() { var products = [login to view URL]; var model = [login to view URL]<IEnumerable<Product>, IEnumerable<[login to view URL]>>(products); return View(model); } private [login to view URL] _getProduct(int id) { var product = [login to view URL](p => [login to view URL] == id); var model = [login to view URL]<Product, [login to view URL]>(product); return model; } // GET: Admin/Product/Details/5 public ActionResult Details(int id) { return View(_getProduct(id)); } // GET: Admin/Product/Create public ActionResult Create() { return View(); } // POST: Admin/Product/Create [HttpPost] public ActionResult Create([login to view URL] model) { try { // TODO: Add insert logic here var product = new Product { PName = [login to view URL], Brand = [login to view URL], Category = [login to view URL], Description = [login to view URL], ROL = [login to view URL], SID = [login to view URL], UnitPrice = [login to view URL], UnitsInStock = [login to view URL] }; [login to view URL](product); [login to view URL](); return RedirectToAction("Index"); } catch (Exception e) { return View(model); } } // GET: Admin/Product/Edit/5 public ActionResult Edit(int id) { return View(_getProduct(id)); } // POST: Admin/Product/Edit/5 [HttpPost] public ActionResult Edit(int id, [login to view URL] model) { try { // TODO: Add update logic here Product p = [login to view URL](pr => [login to view URL] == [login to view URL]); [login to view URL] = [login to view URL]; [login to view URL] = [login to view URL]; [login to view URL] = [login to view URL]; [login to view URL] = [login to view URL]; [login to view URL] = [login to view URL]; [login to view URL] = [login to view URL]; [login to view URL](); return RedirectToAction("Index"); } catch (Exception e) { return View(model); } } // GET: Admin/Product/Delete/5 public ActionResult Delete(int id) { var product = [login to view URL](p => [login to view URL] == id); return RedirectToAction("Index"); } } }
プロジェクト ID: 13316061

プロジェクトについて

8個の提案
リモートプロジェクト
アクティブ 7年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
Dear Sir. I am developing web applications in entity framework, C# and .NET. I have 1 year experience working as .NET developer in the Software industry. I am interested in this job. Kindly give me a chance and I will prove myself. I will fix the error and guide you about it whatever you want. Looking forward to hear from you soon.
$2 AUD 40日以内
0.0 (0 レビュー)
0.0
0.0
この仕事に8人のフリーランサーが、平均$9 AUD/時間で入札しています
ユーザーアバター
Hello. I will help you on this. I hone through the code. Thanks for contacting me. Regards, Sheik Mubarak S
$7 AUD 1日以内
5.0 (30 レビュー)
4.9
4.9
ユーザーアバター
I have worked on similar projects to what you are looking for, and I am confident I can exceed your expectations.I can complete your project on time and within your budget.I can assure you that if you work with me once, you will always work with me for these kind of projects.
$30 AUD 3日以内
5.0 (14 レビュー)
4.5
4.5
ユーザーアバター
Hi,I'm very very interested in your job. I have enough experience for this job. I wanna work for u. If u award me, i can finish this job without fail. Please send me message. Thanks...
$5 AUD 40日以内
5.0 (2 レビュー)
4.0
4.0
ユーザーアバター
Hello My name is shashank The requirements you provided are exactly what I am using all days every day, I would even add some last technology available in the most recent releases of VS to build cross-platform applications. Right now, I am working in a small team and my duties include design/architecture/business analyses and coding of most critical app algorithms. I like programming and feel that there is nothing I can do. It is pleasure for me to use all my knowledge and learn more in programming field. I have experience from developing small web sites to big enterprise ERP solutions. My favorite language is C#, but I also use VB.Net and C++ for critical algorithms. I worked with almost all DBMS from MySQL to Oracle, from single server DB to cloud and distributed customized shards. If this is project real requires so many skills, let me join it and lead it to success. My regular rate is $3/h and I will be available in a month. If you think that the rate is too high, let me know and to discuss it - I am sure that I can explain why or find a compromise. Looking forward to hear from you, sir. Have a nice day!
$4 AUD 40日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
Hi, Sir! As I am a senior c# developer and debugging expert ,I think I'm a good fit for your project and it is no problem for me. if you hire me, i will start working for you. if you don't mind, we can discuss more detail over chat. regards! kkokko
$5 AUD 40日以内
0.0 (1 レビュー)
0.0
0.0

クライアントについて

AUSTRALIAのフラグ
Haymarket, Australia
4.7
5
お支払い方法確認済み
メンバー登録日:1月 11, 2017

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。