public ActionResult DeleteGig(string gigId) //View confirms to the customer that he/she wants to delete the project { var data = GigManager.LoadSpecificGig(gigId); Gig gig = new Gig { Id = data.Id, Title = data.Title, Type = data.Type, Footprint = data.Footprint, Description = data.Description, Zipcode = data.Zipcode, Price = data.Price, CreationDate = data.CreationDate }; return(View(gig)); }
public ActionResult PlaceBid(string id) //View where contractor can place a bid on a specific gig { Gig gig; var data = GigManager.LoadSpecificGig(id); gig = new Gig { Id = data.Id, Title = data.Title, Type = data.Type, Footprint = data.Footprint, Description = data.Description, Zipcode = data.Zipcode, Price = data.Price, CreationDate = data.CreationDate }; gig.PriceToString(); return(View(gig)); }