コード例 #1
0
        public void SavePersonalDetails(SavePersonalDetails request)
        {
            Domain.StaffMember staffMember = new Domain.StaffMember()
            {
                ContactNo  = request.ContactNo,
                Department = request.Department,
                EmpNo      = request.EmpNo,
                ExtNo      = request.ExtNo,
                FirstName  = request.FirstName,
                LastName   = request.LastName,
                UserName   = request.UserName
            };

            _staffOrderRepo.SavePersonalDetails(staffMember);
        }
コード例 #2
0
ファイル: AgentController.cs プロジェクト: wesths/StaffOrders
 public void SavePersonalDetails([FromBody] SavePersonalDetails request)
 {
     _agentService.SavePersonalDetails(request);
 }