Base solution for your next web application

Activities of "fahad"

index.js

(function () {
    appModule.controller('tenant.views.projects.index', [
        '$scope', 'abp.services.app.projects',
        function ($scope, ProjectService) {
          
            var vm = this;
            vm.projects = [];
            
            ProjectService.GetProjects({}).success(function (result) {
                
                vm.projects = result.items;
              
              }

            )
           
            //start from here...
        }
    ]);
})();

index.chtml

<div ng-controller="tenant.views.projects.index as vm">
    <div class="row margin-bottom-5">
        <div class="col-xs-6">
            <div class="page-head">
                <div class="page-title">
                    <h1>
                        <span>@L("projectnames")</span> 
                    </h1>
                </div>
            </div>
        </div>
        
    </div>
    <div class="portlet light margin-bottom-0">
        <div class="portlet-body">
            <h3>@L("Projects")</h3>
            <div class="list-group">
                <a href="javascript:;" class="list-group-item"  ng-repeat="project in vm.projects">
                    <h4 class="list-group-item-heading"
                        ddd {{project.DeptDesc}}
                        </h4>

                </a>
             
            </div>
    </div>
</div>
</div>

Yes. I did. But it does not show data. [ Angular error as below ] [attachment=0:1koovo7t]error2.png[/attachment:1koovo7t] By the way , my service is working with Multi MVC.

Thanks,

Answer

Thanks,

Answer

Hi, I see this link. But I need a guide to know where are the area , files to change in theme ?

Thanks,

Answer

There are (CreationDate & CreationUserID ) only , I want also ( ModifiedData, ModifiedUserID)

Thanks,

Answer

[quote="ismcagdas"]Hi,

  1. override the method CancelDeletionForSoftDelete in your DbContext and remove it's code.
protected override void CancelDeletionForSoftDelete(DbEntityEntry entry)
{

}

What is the file to write this code ?

Thanks,

Answer

Thanks for your reply. I have sample project ( Acme.PhoneBook) for entity ( Phone ) there is no ( Isdeleted column ) and not used the way as you reply >[NotMapped]

public override bool IsDeleted { get; set; }

Kindly explain me How ?

Regards,

Answer

Hi, I could not understand the link you sent. I Do not want to use this field ( isdeleted ) in whole my application for all tables. I want to use hard delete NOT Soft delete.

Thanks,

Showing 1 to 10 of 10 entries