コード例 #1
0
ファイル: PersonController.cs プロジェクト: persel/PTJService
        public Response <PersonAdressViewModel> Delete(long persnr)
        {
            Response <PersonAdressViewModel> result = new Response <PersonAdressViewModel>();

            if (persnr != 0)
            {
                result = backend.DeletePerson(persnr);
            }
            else
            {
                result.success   = "false";
                result.message   = "Missing parameters, check: Id, Persnr,  Fname, Lname, Username";
                result.errorcode = 600;
            }
            return(result);
        }