AJU191324
AJU191324
partialfulfilmentforth
e
awardoftheDegreein
The Online Restaurant Management System provides convenience for the
customers. It overcomes the disadvantages of the traditional queuing
system. This system increases the takeaway of foods than visitors.
Therefore, this system enhances the speed and standardization of taking
the order from the customer. It provides a better communication platform.
The user’s details are noted electronically. This System set up menu online
and the customers easily places the order with a simple mouse click. By
using the food menu online anyone can easily track the orders, maintain
customer's database and improve food delivery service. This system allows
the user to select the desired food items from the displayed menu. The user
orders the food items. The payment can be made online or pay-on-delivery
system. The user’s details are maintained confidential because it maintains
a separate account for each user.
This web application for restaurant management system will provide service
facility to restaurant and also to the customer. .The services that are
provided is food ordering and reservation table management and party
organisation by the customer through the system online, customer
information management and staff information management , menu
information management and report. Restaurant requires to move to a
computerized solution. This will help to run their operations smoothly and in
more efficient manner.
First, I wish to express my sincere gratitude to my mentor (Dr Arun Kumar Marandi) for his
enthusiasm patience, insightful comments, helpful information, practical advices and
unceasing ideas that have helped me tremendously at all times in my Project and writing of
this thesis. His immense knowledge, profound experience and professional expertise in
Backend has enabled me to complete this project successfully. Without his support and
guidance, this project would not have been possible.
I am also thankful to our respected H.O.D and all faculty members for loving inspiration and
timely guidance. I also wish to express my sincere thanks to the Department of Computer
science & Information technology of ARKA JAIN UNIVERSITY for accepting this project.
i
ii
CHAPTER 1 : INTRODUCTION 03
Chapter Overview 04
Project Objective 05
Existing System 06
Need For New System 06
Objective of New System 07
Problem Definition 07
Scope Of Project 08
Core Components 08
Advantages and Limitations 09
CHAPTER 2 BACKGROUND 14
Introductio
n 14
Overvie
w 14
REQUIREMENT DETERMINATION
CHAPTER
3 AND SYSTEM ANALYSIS
17
3
Requiremen determination
t 17
Requirement Analysis
17
Methodology
18
Targete User
d 19
Use-Case Diagram
22
Class Diagram
24
Activity Diagram
25
Sequence
Diagram -48
26
CHAPTER 5 DESIGN
30
Component Diagram
4
30
Data Storage
30
5
RDBM & XML
S 31
Storag method chosen
e 32
Normalisatio
n 33
E Diagram
R
3
4
Dat base design concept
a
37
GU
I
38
Flowchar
t 39
DATA FLOW DIAGRAM 40
DATA DICTIONARY 44
SCREENSHOT 49-
60
Admin
Produc
t
Food
Category
Table Book
Dashboard
Staff
Develpoment
59
6
CODING 60-
102
LOGIN CONTROLLER
7
Product
Controller Cart
Controller Home
Controller
ADMIN FUNCTIONALITY
Product
Controller Order
Controller Cart
Controller Home
Controller
Party Book
Controller Review
Controller Staff
Controller
Table Book Controller
CONCLUSIO
N 103
BIBLIOGRAPHY
104
The problem that many Restaurant businesses face today is to make sure
that they attract new customers and also they keep their existing
customers. The cost to attract a new customer is costlier than retaining
the old customer. Therefore, there is an argument that for a business,
existing customer is worthier than a new customer. In this industry, a
customer is likely to return to the restaurant in the future if they received
8
an excellent customer service as well as appetizing food . However, if they
had to wait for an unreasonable amount of time or there was a mistake in
the order, it’s very unlikely the customer would return.This chapter gives
an introduction to the
9
project by defining the problems encountered by restaurants, the main
objectives that the system expects to achieve and a brief introduction to
existing solutions.
to handle all restaurant activities online. Interactive GUI and the ability to
manage various food and table bookings
and make this system very flexible and convenient. The restaurant
manager is a very busy person and does not have
the time to sit and manage the entire activities manually on paper. This
application gives him the power and flexibility
to manage the entire system from a single online system. The system
is hence useful for both customers, managers
and also for the employees to portable manage the restaurant activities.
1
0
return to the restaurant in the future if they received an excellent
customer service as well as appetising food. However, if they
1
1
had to wait for an unreasonable amount of time or there was a mistake in
the order, it’s very unlikely the customer would return. Restaurant uses
least efficient methods such as paper-based or verbal method to
communicate between the restaurant and kitchen. Even though this
approach is implemented in successful profitable restaurants, there are
several problems which could be seen as reducing the restaurant’s
efficiency that can be identified using above scenario:
Online system that proposed here will simplify the ordering process and it
will be helpful to both restaurant and customer. The proposed system will
be developed with interactive menus, pop-up messages etc. for the
easiness of the user. Customer can select the required food item with
available customizations and the can change the order at any time before
checking out online. If order is confirmed, it will display a pop-up message
as confirmation to the customer. When the order is placed it’s recorded in
the database and retrieved in real time manner. Through this option
Restaurant Employees are allowed to quickly go through the orders which
they have received. Therefore, they can process all orders efficiently and
effectively with minimal delays and confusion.
The next section will go into the objectives of the proposed solution.
1
2
The objective of this project is to build an electronic restaurant management system
1
3
using all of the skills
similar importance.
1
4
ready, kitchen can update the food order status as ready. Same time,
customer and the cashier will be
1
5
notified. This will reduce miscommunication and workload of the cashier.
Reducing waiting time of the customer will improve the customer
satisfaction.
Bulk Processing
Order retrieval is simple and kitchen can see the order as bulks. Then
kitchen can process more orders because they can complete several same
type of orders at the same time.
Customer feedback
Stock Control
All the kitchen ingredient stock levels can be maintained through the
system. Proposed system will facilitate restaurant to maintain kitchen
stock.
Kitchen can maintain possible meals and can update which item cannot be
provided in relevant day.
Discounts
Providing special discounts and promotions. They can assign,” Item of the
Day” for special discount. System can identify whether the customer is
new customer or regular customer. For the regular customer, system can
provide special discounts. Increase the customer satisfaction and make
them retain with the restaurant.
1
6
There are many computerised restaurant management systems
available but for each system there exist
• More manpower.
• Time Consuming.
1
7
• This system can manage and keep the record of Restaurant.
• Security of data.
• Greater efficiency.
• Better service.
table management.
• The employee will use system for manage profile and check
upcoming party schedule etc.
• If employee wants to take a leave, he can apply for the leave and
admin can manage leaves of employees.
1
8
• Smart Restaurant handle the system as Table booking and Food
ordering by digitally which become save manpower and time of staff of
hotel, There are several ways in which online food ordering from
restaurant may occur, restaurant can have its own website with easy
features for placing an order for pick-up, This application gives the power
and flexibility to administrator for manage the entire system from a single
online system.
• User Friendly.
• Pre-reservation of table
• Enhanced flexibility.
The aim of this project is to create a restaurant management system that can
incorporate the benefits of all the existing solutions but without any of the
drawbacks as well as including many new features. A list of proposed
features can be found in table 1.1.
Many of the existing solutions to POS (Point-of-Sale) systems are sold with the
required expensive hardware so for any business looking to work to a
budget, the more enriched software solutions are just out of their range.
2
0
Project Name Restaurant Management
System
Developed by Priti Kumari
Database MYSQL
2
1
Simplifies Front Office Tasks
Increases multi-tasking
Chapter 2 – Background
Second chapter describes the background of the system. This will describe
similar systems that available and alternative technologies available
relevant to the system. It will include essential background information
with references and strengths and weaknesses of those alternatives.
Chapter 3 - Methodology
Chapter 4- Implementation
2
2
content of the changed work from the original proposal with reasons. And
problem faced when implementing the system, the scope
of the project compared with the time plan as well as result that have
achieved. Furthermore, it will describe test plan that was used to verify
and validate system, and description of the effect of errors.
This chapter describes the testing techniques, test plans and client
Experience gained through the project along with areas for future
recommendations are
Summary
This chapter has given the introduction to the project and to the documentation.
Next chapter
2
3
This chapter gives an insight to Restaurant Management system similar in
nature to that of the one being developed in this project. It also gives a
brief introduction to the importance of requirement gathering, a
discussion on development methodologies available as well as a
justification on the platform and software used in this project.
system?
2
5
on the features that business requires and how important each of those
features [9].
1. End to end
This is the most robust and comprehensive type of RMS. Main features
include core POS, inventory control, CRM, staff, menu, order and
payment management, technical support, and reporting and analytics.
Depending on the RMS vendor, developer may be able to mix and
match features.
2. POS
This is the core of the system and allows to integrate it with third-party
systems for inventory, accounting, marketing and other key systems.
Most systems are designed to run only on one device type to maintain
the integrity of the system. Determine which device type will use in the
restaurant.
4. General POS
This system is designed for businesses that have both retail and food
services available. It offers seamless crossover with add-on modules
2
6
2
7
> Requirements are collected using customer and Admin needs
2
8
The order should be based on local area.
The kitchen manager can see the order and check weather this order
can be taken or not and then confirm the order and start preparing.
The order will take initial time to be prepared.
Table reservation should be done before restaurant opening time.
The whole system is secured, only Admin can access all the data.
Introduction
This chapter is focused about stakeholders of the system, and
requirements of the system. Also
this chapter will look at the system design. System design is explained with the
aid of diagrams
to illustrate graphically certain sections of the software system
Analysis
Existing method in this restaurant is all manual and study of the current system
is done by using
the following fact finding techniques.
Observations
Interviews
According to the information that gathered from interviews, employees
have following
problems.
2
9
to prepare same food item several times. They prepare bulks. But it’s
difficult to pack the orders during busy times. If there is a method to view
orders by food items(Bulks) it’s easy to prepare. There should be a way to
view orders separately for easiness of packing purpose for take-away
customers. It’s easy for serving staff to arrange the orders in frequent
manner and that will help to serve customers as first come first out.
Cashiers
Currently they have to remember all the item codes, if there is a new
employee it is very difficult to bill the order in cash register and its time
consuming. If there is a method to see the items in category wise that
would be easy and efficient.
By observing the working environment, it is very clear about the
drawbacks of the current system. Current method causes customer
dissatisfaction and due to that competitors also getting advantages.
3
0
Menu Management Function
Provides functionality for the Admin User only. It will not be available to any other
3
1
users of
the system like Restaurant Employees or Customers.
Using a graphical interface, it will allow an Admin to manage the menu
that is displayed to
users of the web ordering system:
Description Task/Responsibilities
3
2
Windows API, Windows
3
3
Forms, Windows Presentation Foundation, Windows Store and Microsoft
Silverlight. It can produce both native code and managed code.
3
4
● JavaScript is used by programmers across the world to create
dynamic and interactive web content like applications and browsers.
JavaScript is so popular
3
5
that it’s the most used programming language in the world, used as a client-
side programming language by 97.0% of all websites. Client-side
languages are those whose action takes place on the user’s computer,
rather than on the server.
Client Side
Server Side
3
6
Client Side
Server Side
3
7
38
39
40
41
42
43
44
45
This chapter will focus on the design of the system using
diagrams to illustrate graphically certain sections of the
software system.
46
data storage technique therefore choosing the most
appropriate persistent1 data
47
storage is critical to a successful project and we can assume a
flat file storage approach is inadequate. The two most popular
types of persistent data storage available are relational
database management system (RDBMS) and extensible markup
language (XML).
48
thus all tags must be defined and due to its
hierarchically data structure all
49
elements must be promoted or demoted.
XML could be used in two different ways in data storage;
storing the XML documents within a database or having the
XML documents as the fundamental unit of storage. In both
cases the XML can be queried using either XPATH or
XQUERY which are query languages for extracting data
from XML documents.
50
Normalisation comes in many forms ranging from first
normal form to sixth normal form. The normalisation of a
database is a systematic way to free the database of
undesirable characteristics where inserts, updates and
deletions of data could lead to the loss of data integrity.
The greater the normal form, the greater the data integrity
of the database.
The database in this system was designed to be in Boyce-
Codd normal form which is a slightly stronger version of the
third normal form. For the database to be in Boyce-Codd
normal form, it had to pass for all previous normal forms as
well as Boyce-Codd normal form.
A well designed database will normally abide by the first, second
and third normal forms as they are the basics to a well
structured relational database. According to Horsforth School
[17], the first three normal forms can be defined as:
51
tables must abide by the first, second and third normal forms
and must not have any determinants that are not candidate
keys for the table.
53
the same item but packaged differently at a different price
and amount. Finally each ingredient and prepared
ingredient can be part of a category allowing optional
ingredients to be interchanged with other ingredients in the
same category.
Figure 4.4 graphically shows the relationships for the
menu, order and offer objects. The menu consists of a date
time relationship that provides the intervals to when the
menu is active and a menu section relationship that
contains the colour variables and items under that
particular menu section.
The order consists of one to many suborders with the
suborder consisting of one to many items. The order stores
all the ingredients within each item and also the replaced
ingredient if that optional ingredient was replaced.
The offer consists of a date time relationship that
provides the intervals to when the offer is active and a offer
section relationship that contains the sets required by the
offer.
54
The database was the backbone to some highly important functional
55
requirements, therefore the schema (Figures 4.3 and 4.4)
needed to have the structure to deal with them.
Some important design concepts of the database are:
Restaurant Management system Data flow diagrams often used as preliminary step
57
to create an overview, of the restaurant without going into great detail,
which can later be elaborated. It normally consists of overall application
data flow and process of the Restaurant Process. It contains all the user
flow and their entities,such as all the flow of
restaurant,employees,items,sells,payment,order,item, category.All of the
below diagrams has been used for the visualization of the data processing
and structured design of the Restaurant Process and working flow.
58
SECOND LEVEL DFD:
59
60
Primary Key: admin_id
Table description: Stores the basic details of admin.
61
Primary Keys: l_id
Table Description: Stores the basic details of staff leave.
62
Primary Key: offer_id
Table Description: Stores the basic details of food offer.
63
:
51
Primary Key: staff_id
Table Description: Stores the detail of staff.
52
Primary Key: user_id
Table Description: Stores the basic details of
customer who register in Restaurant Management
system
53
54
55
56
57
58
59
60
61
62
63
64
The project entitled “RESTAURANT
MANAGEMENT SYSTEM” has been
business
65
- Code compile without warnings.
- Variable name starts with small letters and the all word start
with capital letters.
66
User Profile Manage All Function(Login
,Signup,
ForgotPassword,Logout,ChangePassword,Update
UserProfile)
[HttpPost]
Objusr = _bal.GetLoginDetails(Objusr);
if (Objusr.email != null)
Session["Email"] = Objusr.email;
Session["Id"] = Objusr.usr_id;
Session["FName"] = Objusr.firstname;
Session["address"] = Objusr.address;
Session["phone"] = Objusr.phone_no;
Session["zipcode"] = Objusr.zipcode;
Objusr = _bal.GetCartCount(Objusr.usr_id);
Session["count"] = Objusr.count;
FormsAuthentication.SetAuthCookie(Objusr.email, false);
TempData["Message"] = "1";
67
return RedirectToAction("Index", "Home");//method,controller,object
else
TempData["Message"] =
"0"; ModelState.Clear();
return View();
[HttpPost]
if (!string.IsNullOrEmpty(ObjUser.firstname) &&
!string.IsNullOrEmpty(ObjUser.email) &&
!string.IsNullOrEmpty(ObjUser.password) &&
!string.IsNullOrEmpty(ObjUser.address)
!string.IsNullOrEmpty(ObjUser.state) &&
!string.IsNullOrEmpty(ObjUser.city) &&
ObjUser.zipcode != null)
68
result =
selenadal.AddUserDetails(ObjUser); if
(result == 1)
TempData["Message"] = "1";
ModelState.Clear();
return RedirectToAction("Index");
else
TempData["Message"] =
"2"; ModelState.Clear();
return RedirectToAction("Index");
return RedirectToAction("Index");
[Authorize]
69
u= _bal.UpdateUser(users);
Session["FName"] = u.firstname;
TempData["Message"] = "0";
[Authoriz
e]
[HttpPost
int id =
Convert.ToInt32(Session["Id"]); users
= _bal.GetData(id);
if (ObjUser.password == users.password)
_bal.ChangePassword(newPassword,
TempData["Message"] = "f";
70
return RedirectToAction("Index", "MyAccount");
71
}
return View();
[HttpPost]
if (ObjUsers.email != null)
users = _bal.GetForgotPassword(ObjUsers);
if (users.password != null)
PassRecMail.Body = EmailBody;
PassRecMail.IsBodyHtml = true;
PassRecMail.Subject = "ForGot
new SmtpClient())
72
{
client.EnableSsl = true;
client.UseDefaultCredentials =
false;
client.Host = "smtp.gmail.com";
client.Port = 587;
client.DeliveryMethod = SmtpDeliveryMethod.Network;
client.Send(PassRecMail);
TempData["Message"] =
"mail"; return
RedirectToAction("index");
else
TempData["Message"] =
"3"; return
RedirectToAction("index");
else
73
TempData["Message"] =
74
}
FormsAuthentication.SignOut
(); Session.Clear();
Session.Abandon();
TempData["Message"] =
"11";
75
Get All Products category wise
product.lstBestProduct = selenabal.GetProductsIdwisec(id);
product.categories = selenabal.GetCategory();
return View(product);
76
Add to cart Product and check out Order , Online Payment
Function ,Cart Manage , Order Manage
string para4, int para5, int para6, string para7,string para8,string para9)
else
JsonRequestBehavior.AllowGet);
77
[Authoriz
e]
[HttpPost
selenabal.DeleteCartItem(id);
int x = (int)System.Web.HttpContext.Current.Session["Id"];
ViewBag.StripePublishKey
=
ConfigurationManager.AppSettings["stripePublishableKey"];
product.cartList = selenabal.GetCartItem(x);
product.cartListTotal =
selenabal.GetCartTotal(x); product.users =
selenabal.GetData(x);
return View(product);
78
}
[Authorize]
79
[HttpPost]
string state,
int id =
(int)System.Web.HttpContext.Current.Session["Id"];
product.cartList =
selenabal.GetCartItem(id); users =
selenabal.GetData(id);
rnd.Next(100, 999);
rendom.ToString(); if
(paymentmethod == "card")
80
Stripe.StripeConfiguration.SetApiKey("pk_test_51IlZwLSEQrbvHrn8lOmmsq
SOoLWJ
uSDawHTlMbbIy49wKHrbg58JRT5dpaXNTWy7gJ6DpQJCkyOtCPfLHPOZicZd
00Wlj BzOS2");
81
Stripe.StripeConfiguration.ApiKey =
"sk_test_51IlZwLSEQrbvHrn8woaFiLR0dyvAneYBHxNfGrgp02x6VE7XFgYhFP8q79Yx
Eig8f3opvOpTXRLWSomBD9hUO8JO00EKw9cNV2";
Amount = price*100,
Currency = "INR",
Description = "Selena
Food", Source =
stripeToken,
{ "order_id", stripeToken },
},
};
service.Create(options);
else
82
{
stripeToken = "0";
Session["count"] = 0;
TempData["Message"] = "00";
int x =
(int)System.Web.HttpContext.Current.Session["Id"];
product.cartListTotal = selenabal.GetOrderTotal(Id,
selenabal.CancelOrder(id);
83
Table Booking ,Feedback ,Contact us ,
category.lstReview =
selenabal.GetReview(); return
View(category);
ofr.lstoffers=
selenabal.GetOffers(); return
View(ofr);
return View();
[HttpPost]
selenabal.TableBook(tbl);
TempData["Message"] =
84
"tbl";
85
return RedirectToAction("Index");
Category Controller
category.lstCategory= selenabal.GetCategories();
return View(category);
selenabal.DeleteCategory(id);
return Json("Delete
Successfull!");
86
public ActionResult UpdateCategory(int id)
category =
selenabal.GetCategoryById(id); return
View(category);
[Authoriz
e]
[HttpPost
category =
selenabal.UpdateCategory(category);
TempData["Message"] = "2";
return RedirectToAction("Index");
return View();
87
[HttpPost]
88
{
TempData["Message"] = "1";
category = selenabal.AddCategory(category);
return RedirectToAction("Index");
89
Product Manage(create,update,delete,View)
product.lstProduct =
selenabal.GetProducts(); return
View(product);
[Authorize]
selenabal.DeleteProduct(id);
return Json("Delete
Successfull!");
return View();
[Authoriz
e]
[HttpPost
90
if (ModelState.IsValid)
91
".Jpg", ".png", ".jpg", "jpeg"
};
product.product_img= product_img.ToString();
var fileName =
= Path.GetExtension(product_img.FileName);
size <= 2)
//string path =
Path.Combine(myfile);
product.product_img = myfile;
product_img.SaveAs(path);
92
}
93
TempData["Message"] = "1";
product =
selenabal.AddProduct(product); return
RedirectToAction("Index");
product =
selenabal.GetProductById(id); return
View(product);
[Authoriz
e]
[HttpPost
if (ModelState.IsValid)
"jpeg"
};
94
product.product_img = product_img.ToString();
var fileName =
= Path.GetExtension(product_img.FileName);
if (allowedExtensions.Contains(ext))
95
{ //check what type of extension
//string path =
Path.Combine(myfile);
product.product_img=
myfile;
product_img.SaveAs(path
);
product =
selenabal.UpdateProduct(product);
TempData["Message"] = "2";
return RedirectToAction("Index");
return View();
96
97
public ActionResult Index()
product.ListOrder =
selenabal.FetchOrder(); return
View(product);
product.ListOrder =
selenabal.FetchPendingOrder(); return
View(product);
product.ListOrder =
selenabal.FetchAceptOrder(); return
View(product);
98
[Authorize]
99
[HttpPost]
selenabal.OrderAccept(para1);
[Authoriz
e]
[HttpPost
selenabal.OrderCancel(id);
product.showOrder =
selenabal.OpenOrder(id);
product.cartListTotal =
selenabal.GetOrderTotal(id); return
View(product);
}
10
0
public ActionResult ShowInvoice(string id)
10
1
{
product.showOrder =
selenabal.OpenOrder(id);
product.cartListTotal =
selenabal.GetOrderTotal(id); return
View(product);
Product();
entities.ListOrder = selenabal.FetchAceptOrder();
ExcelPackage.LicenseContext = LicenseContext.NonCommercial;
int counter = 0;
Sheet.Cells["A1"].Value =
"No.";
Sheet.Cells["B1"].Value = "Customer
Status"; Sheet.Cells["E1"].Value =
10
2
"Order Total"; Sheet.Cells["F1"].Value =
"Order Date";
10
3
int row = 2;
counter++;
Sheet.Cells[string.Format("F{0}", row)].Value =
item.order_date.ToString("dd
-MMM-yyyy");
row++;
Sheet.Cells["A:AZ"].AutoFitColumns();
Response.Clear();
Response.ContentType =
"application/vnd.openxmlformats-
officedocument.spreadsheetml.sheet";
Response.AddHeader("content-disposition", "attachment:
filename=" +
"Report.xlsx");
Response.BinaryWrite(Ep.GetAsByteArray
10
4
()); Response.End();
10
5
}
Dashboard Controller
l.leaveRecords =
l.listUsers =
selenabal.GetUsers(); return
View(l);
l.lstoffers = selenabal.GetOffers();
10
6
return View(l);
selenabal.DeleteOffers(id);
return View();
[HttpPost]
var allowedExtensions =
".jpg", "jpeg"
};
ofr.img= img.ToString();
var fileName =
Path.GetExtension(img.FileName);
10
7
var size = img.ContentLength / 1024 / 1024;
//string path =
Path.Combine(myfile);
string path =
Path.Combine("D://Selena//Selena-foods//Selena-
foods//Content//P_img//", myfile);
ofr.img= myfile;
img.SaveAs(path);
ofr = selenabal.AddOffer(ofr);
TempData["Message"] = "1";
return RedirectToAction("viewOffers");
[Authorize]
10
8
[HttpPost]
selenabal.LeaveAccept(para1);
[Authoriz
e]
[HttpPost
selenabal.LeaveCancel(para1);
10
9
Admin Login, Staff Login, Logout
[HttpPost]
ObjAdmin = selenabal.GetLoginDetails(ObjAdmin);
if (ObjAdmin.email != null)
Session["Email"] =
ObjAdmin.email; Session["Id"]
= ObjAdmin.admin_id;
Session["type"] = "a";
FormsAuthentication.SetAuthCookie(ObjAdmin.email, false);
return RedirectToAction("Index",
"DashBoard",
ObjAdmin);//method,controller,object
else
TempData["Message"] =
"1"; ModelState.Clear();
return View();
11
0
}
11
1
}
[HttpPost]
staff =
selenabal.GetLoginDetailsStaff(staff); if
(staff.email != null)
Session["Email"] = staff.email;
Session["Id"] = staff.staff_id;
Session["type"] = staff.type;
ViewBag.Page = "s";
FormsAuthentication.SetAuthCookie(staff.email, false);
return RedirectToAction("Dashboard",
"Staff", staff);//method,controller,object
else
TempData["Message"] =
"1"; ModelState.Clear();
return RedirectToAction("Index");
11
2
FormsAuthentication.SignOut
(); Session.Clear();
Session.Abandon();
TempData["Message"] = "Logout
Successfully"; return
RedirectToAction("Index", "Home");
11
3
public ActionResult Index()
u.party_Books =
selenabal.GetParty_Books(); return
View(u);
return View();
[HttpPost]
party_Book =
selenabal.AddPartyBook(party_Book);
TempData["Message"] = "1";
return RedirectToAction("Index");
11
4
selenabal.DeleteParty(id);
11
5
return Json("Delete Successfull!");
Party_Book s = new
Party_Book(); s =
selenabal.GetPArtyData(id);
return View(s);
[HttpPost]
p = selenabal.UpdatePartyBook(party_Book);
TempData["Message"] = "Update
Successfully"; return
RedirectToAction("Index");
11
6
public ActionResult Index()
review.listReview =
selenabal.GetReview(); return
View(review);
selenabal.DeleteReview(id);
11
7
[Authorize]
int id =
Convert.ToInt32(Session["Id"]);
s=
selenabal.GetstaffData(id);
return View(s);
[Authorize]
int id =
Convert.ToInt32(Session["Id"]);
s=
selenabal.GetstaffData(id);
return View(s);
[Authoriz
e]
[HttpPost
11
8
]
11
9
int id = Convert.ToInt32(Session["Id"]);
sf = selenabal.GetstaffData(id);
if (staff.password == sf.password)
selenabal.chnagePassword(staff.CPassword,
Successfully"; return
RedirectToAction("Dashboard");
else
TempData["Message"] = "8";
return RedirectToAction("Dashboard");
[Authorize]
int id =
Convert.ToInt32(Session["Id"]);
s = selenabal.GetstaffData(id);
12
0
return View(s);
[Authoriz
e]
[HttpPost
u = selenabal.UpdateUser(staff);
Session["FName"] = u.firstname;
TempData["Message"] = "Update
Successfully"; return
RedirectToAction("Dashboard");
u.party_Books=
selenabal.GetParty_Books(); return
View(u);
int id = Convert.ToInt32(Session["Id"]);
12
2
LeaveRecord l = new LeaveRecord();
l.leaveRecords =
selenabal.DeleteLeave(id);
return View();
[HttpPost]
int id = Convert.ToInt32(Session["Id"]);
leaveRecord =
selenabal.AddLeave(leaveRecord,id);
TempData["Message"] = "1";
return RedirectToAction("LeaveRecord");
12
3
public ActionResult Viewstaff()
s.listStaff = selenabal.GetStaff();
return View(s);
return View();
[HttpPost]
staff =
selenabal.AddStaff(staff);
TempData["Message"] =
"1";
return RedirectToAction("ViewStaff");
selenabal.Deletestaff(id);
12
4
return Json("Delete Successfull!");
s=
selenabal.GetstaffData(id);
return View(s);
[Authoriz
e]
[HttpPost
u = selenabal.UpdateStaff(staff);
Session["FName"] = u.firstname;
TempData["Message"] = "Update
Successfully"; return
RedirectToAction("ViewStaff");
}
12
5
12
6
public ActionResult Index()
table.table_Books = selenabal.GetTableBook();
return View(table);
Proposed Enhancements
12
7
proposed to be implementing to replace the
manual system
business
12
8
1] Ian Alexander. Computing & control engineering. Volume 14(Issue
1):22–26, April 2003.
12
9
sector
-overview.htm.
13
0
http://java.sun.com/ javase/technologies/database/.
//www.agilemanifesto.org/principles.html.
13
1
• www.stackoverflow.com
• www.smartsheet.com
• www.000webhost.com
13
2
• www.lucidcharts.com
13
3
13
4
13
5
13
6
13
7
13
8
13
9
14
0
14
1
14
2
14
3
14
4
14
5
14
6
14
7
14
8
14
9
15
0
15
1
15
2
15
3
15
4
15
5
15
6
15
7
15
8
15
9
16
0
16
1
16
2
16
3
16
4
16
5
16
6
16
7
16
8
16
9
17
0
17
1
17
2
17
3
17
4
17
5
17
6
17
7
17
8
17
9
18
0
18
1
I would like to express my sincere gratitude to several individuals and
organization for supporting me throughout the completion of my
project.
I am also thankful to our respected H.O.D and all faculty members for
loving inspiration and timely guidance. I also wish to express my sincere
thanks to the Department of Computer science & Information
technology of ARKA JAIN UNIVERSITY for accepting this project.
18
2
18
3